Permalink
Browse files

Closes #25. sharedjs replaced by underscore

  • Loading branch information...
1 parent b15ab1b commit 8b665f60f3f4555ad6bc99b800442277d3a86297 @kof kof committed Sep 12, 2011
Showing with 24 additions and 26 deletions.
  1. +3 −3 lib/child.js
  2. +21 −23 package.json
View
@@ -1,12 +1,12 @@
var path = require('path'),
- $ = require('sharedjs'),
+ _ = require('underscore'),
options = JSON.parse(process.argv[2]);
var currentModule = path.basename(options.code.path, '.js'),
currentTest;
// make qunit api global, like it is in the browser
-$.extend(global, require('../deps/qunit/qunit/qunit'));
+_.extend(global, require('../deps/qunit/qunit/qunit'));
function load(res) {
var requirePath = res.path.replace(/\.js$/, '');
@@ -15,7 +15,7 @@ function load(res) {
if (res.namespace) {
global[res.namespace] = require(requirePath);
} else {
- $.extend(global, require(requirePath));
+ _.extend(global, require(requirePath));
}
}
View
@@ -1,32 +1,30 @@
{
- "name": "qunit",
- "description": "A port of QUnit unit testing framework to nodejs",
- "version": "0.2.0",
- "author": "Oleg Slobodskoi <oleg008@gmail.com>",
- "contributors": [
- { "name": "John Resig", "email": "jeresig@gmail.com" },
- { "name": "Jörn Zaefferer", "email": "joern.zaefferer@gmail.com" },
- { "name": "Jonathan Buchanan"}
+ "name": "qunit",
+ "description": "A port of QUnit unit testing framework to nodejs",
+ "version": "0.2.0",
+ "author": "Oleg Slobodskoi <oleg008@gmail.com>",
+ "contributors": [
+ {"name": "Jonathan Buchanan"}
],
- "repository": {
- "type": "git",
- "url": "http://github.com/kof/node-qunit.git"
+ "repository": {
+ "type": "git",
+ "url": "http: //github.com/kof/node-qunit.git"
},
- "keywords": [ "TDD", "QUnit", "unit testing", "tests" ],
- "bin": { "qunit": "./bin/cli.js" },
- "engines": { "node": ">= 0.5.0" },
- "scripts": {
- "install": "make install"
+ "keywords": ["TDD","QUnit","unit testing","tests"],
+ "bin": {"qunit": "./bin/cli.js"},
+ "engines": {"node": ">= 0.4.0"},
+ "scripts": {
+ "install": "make install"
},
- "dependencies": {
- "sharedjs": ">= 0.0.2",
- "argsparser": ">= 0.0.6",
- "cli-table": ">= 0.0.1"
+ "dependencies": {
+ "underscore": ">= 1.1.7",
+ "argsparser": ">= 0.0.6",
+ "cli-table": ">= 0.0.1"
},
- "licenses": [
+ "licenses": [
{
- "type": "MIT",
- "url" : "http://www.opensource.org/licenses/mit-license.php"
+ "type": "MIT",
+ "url": "http: //www.opensource.org/licenses/mit-license.php"
}
]
}

0 comments on commit 8b665f6

Please sign in to comment.