diff options
author | Barak Korren <[email protected]> | 2013-04-02 20:38:07 +0300 |
---|---|---|
committer | Barak Korren <[email protected]> | 2013-04-02 20:38:07 +0300 |
commit | 58a2577d48790c79adfd44bcfd662c980ce6cfe4 (patch) | |
tree | 523d814ea0b7b6f617fe515b186099c6e83fed72 /lib/dojo/node.js.uncompressed.js | |
parent | e470a273cf09562fb2f9c0c899002303f19c8d16 (diff) | |
parent | cc332603431102a682feda22b9cf0093a29f0176 (diff) |
Merge branch 'master' of https://github.com/gothfox/Tiny-Tiny-RSS.git
Diffstat (limited to 'lib/dojo/node.js.uncompressed.js')
-rw-r--r-- | lib/dojo/node.js.uncompressed.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/lib/dojo/node.js.uncompressed.js b/lib/dojo/node.js.uncompressed.js deleted file mode 100644 index e7706668b..000000000 --- a/lib/dojo/node.js.uncompressed.js +++ /dev/null @@ -1,27 +0,0 @@ -define("dojo/node", ["dojo/has"], function(has){ - if(! 0 ){ - throw new Error("node plugin failed to load because environment is not Node.js"); - } - - return { - // summary: - // This AMD plugin module allows native Node.js modules to be loaded by AMD modules using the Dojo - // loader. Note that this plugin will not work with AMD loaders other than the Dojo loader. - // example: - // | require(["dojo/node!fs"], function(fs){ - // | var fileData = fs.readFileSync("foo.txt", "utf-8"); - // | }); - - load: function(/*string*/ id, /*Function*/ require, /*Function*/ load){ - // summary: - // Standard AMD plugin interface. See https://github.com/amdjs/amdjs-api/wiki/Loader-Plugins - // for information. - - if(!require.nodeRequire){ - throw new Error("Cannot find native require function"); - } - - load(require.nodeRequire(id)); - } - }; -});
\ No newline at end of file |