Permalink
Browse files

Version 0.1.1

  • Loading branch information...
1 parent c947e58 commit df0ab3c5f992df2054e4129dc5bf16aaceeecf5d @Gozala committed Jan 20, 2013
Showing with 18 additions and 2 deletions.
  1. +7 −0 History.md
  2. +2 −2 package.json
  3. +9 −0 test/index.js
View
@@ -1,9 +1,16 @@
# 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.
## 0.0.1 / 2012-10-31
- Initial release
+
+[browserify]:http://browserify.org/
View
@@ -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
@@ -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)

0 comments on commit df0ab3c

Please sign in to comment.