Skip to content

Commit

Permalink
Add standalone build
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Varache committed Dec 22, 2016
1 parent d285523 commit b4e3e28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions dist/kano-world-sdk.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;"undefined"!=typeof window?n=window:"undefined"!=typeof global?n=global:"undefined"!=typeof self&&(n=self),(n.Kano||(n.Kano={})).SDK=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
module.exports = {
WORLD_URL : 'http://world.kano.me',
API_URL : 'https://api.kano.me'
Expand Down Expand Up @@ -15007,4 +15007,5 @@ exports.XMLHttpRequest = function() {
};

}).call(this,require('_process'),require("buffer").Buffer)
},{"_process":46,"buffer":31,"child_process":30,"fs":30,"http":36,"https":39,"url":66}]},{},[7]);
},{"_process":46,"buffer":31,"child_process":30,"fs":30,"http":36,"https":39,"url":66}]},{},[7])(7)
});
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Kano World SDK",
"main": "lib/index.js",
"scripts": {
"build": "browserify lib/index.js -o dist/kano-world-sdk.js",
"build": "browserify lib/index.js --standalone Kano.SDK -o dist/kano-world-sdk.js",
"watch": "watchify lib/index.js -o dist/kano-world-sdk.js"
},
"author": "Tancredi Trugenberger",
Expand Down

0 comments on commit b4e3e28

Please sign in to comment.