Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Version 0.1.1

  • Loading branch information...
commit df0ab3c5f992df2054e4129dc5bf16aaceeecf5d 1 parent c947e58
@Gozala authored
Showing with 18 additions and 2 deletions.
  1. +7 −0 History.md
  2. +2 −2 package.json
  3. +9 −0 test/index.js
View
7 History.md
@@ -1,5 +1,10 @@
# Changes
+## 0.1.1 / 2013-01-19
+
+ - Update to latest [browserify][].
+ - Use timers module to ensure compatibility with SDK.
+
## 0.1.0 / 2012-11-01
- Added support for optional second argument for a target page URL.
@@ -7,3 +12,5 @@
## 0.0.1 / 2012-10-31
- Initial release
+
+[browserify]:http://browserify.org/
View
4 package.json
@@ -1,7 +1,7 @@
{
"name": "phantomify",
"id": "phantomify",
- "version": "0.1.0",
+ "version": "0.1.1",
"description": "Browserify require in a PhantomJS",
"keywords": [
"phantomify"
@@ -34,6 +34,6 @@
}
],
"dependencies": {
- "browserify": "~1.16.1"
+ "browserify": "~1.17.x"
}
}
View
9 test/index.js
@@ -1,7 +1,16 @@
"use strict";
+var timers = require("timers")
+
exports["test example"] = function(assert) {
assert.equal(2 + 2, 4, "2 + 2 = 4")
}
+exports["test setTimeout"] = function(assert, done) {
+ timers.setTimeout(function() {
+ assert.pass("Timer was triggered")
+ done()
+ }, 10)
+}
+
require("test").run(exports)
Please sign in to comment.
Something went wrong with that request. Please try again.