Version 1
[yaffs-website] / node_modules / phantomjs-prebuilt / lib / phantom / examples / version.js
diff --git a/node_modules/phantomjs-prebuilt/lib/phantom/examples/version.js b/node_modules/phantomjs-prebuilt/lib/phantom/examples/version.js
new file mode 100644 (file)
index 0000000..dfda4f8
--- /dev/null
@@ -0,0 +1,6 @@
+"use strict";
+console.log('using PhantomJS version ' +
+  phantom.version.major + '.' +
+  phantom.version.minor + '.' +
+  phantom.version.patch);
+phantom.exit();