Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Apr 23, 2014
1 parent 1f2dd1d commit 2660255
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
"grunt": "~0.4.4",
"grunt-shell": "~0.6.4",
"grunt-template": "~0.2.3",
"istanbul": "~0.2.6",
"qunit-clib": "~1.3.0",
"istanbul": "~0.2.7",
"qunit-extras": "~1.0.0",
"qunitjs": "~1.11.0",
"regenerate": "~0.5.4",
"regenerate": "~0.6.0",
"requirejs": "~2.1.11",
"unicode-6.3.0": "~0.1.2"
}
Expand Down
4 changes: 2 additions & 2 deletions scripts/export-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var allExceptCombiningMarks = regenerate()
module.exports = {
'combiningMarks': combiningMarks.toString(),
'allExceptCombiningMarks': allExceptCombiningMarks.toString(),
'highSurrogates': regenerate.fromCodePointRange(0xD800, 0xDBFF),
'lowSurrogates': regenerate.fromCodePointRange(0xDC00, 0xDFFF),
'highSurrogates': regenerate().addRange(0xD800, 0xDBFF).toString(),
'lowSurrogates': regenerate().addRange(0xDC00, 0xDFFF).toString(),
'version': packageInfo.version
};
17 changes: 11 additions & 6 deletions tests/tests.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
;(function(root) {
(function(root) {
'use strict';

/** Use a single `load` function */
var load = typeof require == 'function' ? require : root.load;
var noop = Function.prototype;

var load = (typeof require == 'function' && !(root.define && define.amd)) ?
require :
(!root.document && root.java && root.load) || noop;

/** The unit testing framework */
var QUnit = (function() {
var noop = Function.prototype;
return root.QUnit || (
root.addEventListener || (root.addEventListener = noop),
root.setTimeout || (root.setTimeout = noop),
root.QUnit = load('../node_modules/qunitjs/qunit/qunit.js') || root.QUnit,
(load('../node_modules/qunit-clib/qunit-clib.js') || { 'runInContext': noop }).runInContext(root),
addEventListener === noop && delete root.addEventListener,
root.QUnit
);
}());

var qe = load('../node_modules/qunit-extras/qunit-extras.js');
if (qe) {
qe.runInContext(root);
}

/** The `esrever` object to test */
var esrever = root.esrever || (root.esrever = (
esrever = load('../esrever.js') || root.esrever,
Expand Down

0 comments on commit 2660255

Please sign in to comment.