Skip to content

Commit

Permalink
Version 0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
santoshrajan committed Jul 7, 2013
1 parent f416e95 commit 4a1b7fe
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
15 changes: 14 additions & 1 deletion package.json
Expand Up @@ -6,5 +6,18 @@
"repository" : {"type": "git", "url": "git://github.com/santoshrajan/tinix.git"},
"main" : "tinix.js",
"version" : "0.0.7",
"license" : "MIT"
"license" : "MIT",
"devDependencies": {
"tape": "~0.3.2"
},
"testling": {
"files": "test/*.js",
"browsers": {
"ie" : [ 6, 7, 8, 9, 10 ],
"ff" : [ 3.5, 10, 15.0, 16.0, 17.0 ],
"chrome" : [ 10, 20, 21, 22, 23 ],
"safari" : [ 5.1 ],
"opera" : [ 10, 11, 12 ]
}
}
}
16 changes: 16 additions & 0 deletions test/test.js
@@ -0,0 +1,16 @@
var test = require("tape")
$ = require("../tinix")

test("Compatibility Test", function(t) {
t.plan(10)
t.equal(typeof XMLHttpRequest, 'function')
t.equal(typeof JSON, 'object')
t.equal(typeof document.readyState, 'string')
t.equal(typeof document.onreadystatechange, 'object')
t.equal(typeof document.cookie, 'string')
t.equal(typeof document.addEventListener, 'function')
t.equal(typeof document.querySelector, 'function')
t.equal(typeof document.querySelectorAll, 'function')
t.equal(typeof Array.prototype.forEach, 'function')
t.equal(typeof Array.prototype.map, 'function')
})

0 comments on commit 4a1b7fe

Please sign in to comment.