Skip to content

Instantly share code, notes, and snippets.

@pyykkis
Forked from anonymous/dist.js
Created February 25, 2013 20:47
Show Gist options
  • Save pyykkis/5033140 to your computer and use it in GitHub Desktop.
Save pyykkis/5033140 to your computer and use it in GitHub Desktop.
exports.hello = function(name) {
console.log("Hello, " + name);
}
;(function(e,t,n,r){function i(r){if(!n[r]){if(!t[r]){if(e)return e(r);throw new Error("Cannot find module '"+r+"'")}var s=n[r]={exports:{}};t[r][0](function(e){var n=t[r][1][e];return i(n?n:e)},s,s.exports)}return n[r].exports}for(var s=0;s<r.length;s++)i(r[s]);return i})(typeof require!=="undefined"&&require,{1:[function(require,module,exports){bar = require('./bar')
bar.hello("Jarno");
},{"./bar":2}],2:[function(require,module,exports){exports.hello = function(name) {
console.log("Hello, " + name);
}
},{}]},{},[1]);
bar = require('./bar')
bar.hello("Jarno");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment