From 870334be3f58507c05bfc72f3edbe5db10af4caf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 2 Apr 2013 20:06:16 +0400 Subject: remove dojo uncompressed files --- lib/dojo/node.js.uncompressed.js | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 lib/dojo/node.js.uncompressed.js (limited to 'lib/dojo/node.js.uncompressed.js') 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 -- cgit v1.2.3