Version 1
[yaffs-website] / node_modules / phantomjs-prebuilt / lib / phantom / examples / universe.js
diff --git a/node_modules/phantomjs-prebuilt/lib/phantom/examples/universe.js b/node_modules/phantomjs-prebuilt/lib/phantom/examples/universe.js
new file mode 100644 (file)
index 0000000..2655aaf
--- /dev/null
@@ -0,0 +1,10 @@
+// This is to be used by "module.js" (and "module.coffee") example(s).
+// There should NOT be a "universe.coffee" as only 1 of the 2 would
+//  ever be loaded unless the file extension was specified.
+
+"use strict";
+exports.answer = 42;
+
+exports.start = function () {
+    console.log('Starting the universe....');
+}