Skip to content

Commit

Permalink
Merge pull request #131 from Microsoft/dev
Browse files Browse the repository at this point in the history
ignore Buffer
  • Loading branch information
danmarshall committed Feb 8, 2016
2 parents 4aa3b65 + 478333f commit 0bb8fd2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions archive/browser.0.6.11.maker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
require=(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){

},{}],2:[function(require,module,exports){
(function (Buffer){
var clone = (function() {
'use strict';
Expand Down Expand Up @@ -162,7 +164,7 @@ if (typeof module === 'object' && module.exports) {
}

}).call(this,require("buffer").Buffer)
},{"buffer":undefined}],"makerjs":[function(require,module,exports){
},{"buffer":1}],"makerjs":[function(require,module,exports){
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
Expand Down Expand Up @@ -4246,4 +4248,4 @@ var MakerJs;
})(models = MakerJs.models || (MakerJs.models = {}));
})(MakerJs || (MakerJs = {}));

},{"clone":1}]},{},[]);
},{"clone":2}]},{},[]);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"compile-playground": "tsc -p playground && tsc -p playground/worker",
"cat-tsd": "cat target/ts/tsd-header.txt target/maker.d.ts > target/ts/makerjs.d.ts && rm target/maker.d.ts",
"target-node-platform": "cd target && mv maker.js js/node.maker.js && cd ..",
"target-browser-platform": "cd target/js && browserify --exclude buffer -o browser.maker.js -r ./node.maker.js:makerjs && cd ../..",
"target-browser-platform": "cd target/js && browserify --ignore buffer -o browser.maker.js -r ./node.maker.js:makerjs && cd ../..",
"build-debug": "tsc -p src",
"build": "tsc -p target && npm run cat-tsd && npm run target-node-platform && npm run target-browser-platform && cp target/js/node.maker.js ./index.js && npm run compile-playground && npm run versionize",
"versionize": "node ./target/versionize.js",
Expand Down
6 changes: 4 additions & 2 deletions target/js/browser.maker.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
require=(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){

},{}],2:[function(require,module,exports){
(function (Buffer){
var clone = (function() {
'use strict';
Expand Down Expand Up @@ -162,7 +164,7 @@ if (typeof module === 'object' && module.exports) {
}

}).call(this,require("buffer").Buffer)
},{"buffer":undefined}],"makerjs":[function(require,module,exports){
},{"buffer":1}],"makerjs":[function(require,module,exports){
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
Expand Down Expand Up @@ -4246,4 +4248,4 @@ var MakerJs;
})(models = MakerJs.models || (MakerJs.models = {}));
})(MakerJs || (MakerJs = {}));

},{"clone":1}]},{},[]);
},{"clone":2}]},{},[]);

0 comments on commit 0bb8fd2

Please sign in to comment.