Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bump version to 0.0.2

  • Loading branch information...
commit 1f50d9f26da56b9ca02e2277cf75a1e83b58066e 1 parent 8e7c734
@creationix authored
Showing with 1 addition and 31 deletions.
  1. +0 −30 module.js
  2. +1 −1  package.json
View
30 module.js
@@ -1,30 +0,0 @@
-// Super simple require system
-(function () {
-
-// Store our repository in private variables in this closure.
-var defs = {},
- modules = {};
-
-// When the user defines a module's setup function, store it here.
-define = function define(name, fn) {
- defs[name] = fn;
-}
-
-var realRequire = typeof require !== "undefined" && require;
-// The first time a module is used, it's description is executed and cached.
-require = function require(name) {
- if (modules.hasOwnProperty(name)) return modules[name];
- if (defs.hasOwnProperty(name)) {
- var exports = modules[name] = {};
- var module = {exports:exports};
- var fn = defs[name];
- fn(module, exports);
- return modules[name] = module.exports;
- }
- if (realRequire) {
- return realRequire(name);
- }
- throw new Error("Can't find module " + name);
-}
-
-}());
View
2  package.json
@@ -2,7 +2,7 @@
"author": "Tim Caswell <tim@creationix.com>",
"name": "embedder-sync",
"description": "A simple tool to combine several node modules into a single script.",
- "version": "0.0.0",
+ "version": "0.0.2",
"repository": {
"type": "git",
"url": "git://github.com/creationix/embedder-sync.git"
Please sign in to comment.
Something went wrong with that request. Please try again.