Comparing version 1.0.0 to 1.0.1
/*! | ||
* Object Oriented JavaScript Library v1.0.0 | ||
* Object Oriented JavaScript Library v1.0.1 | ||
* https://github.com/trevorparscal/oojs | ||
* | ||
* Copyright 2011-2013 Timo Tijhof, Trevor Parscal and Roan Kattouw. | ||
* Copyright 2011-2013 OOJS Team and other contributors. | ||
* Released under the MIT license | ||
* http://oojs.mit-license.org | ||
* | ||
* Date: Thu Jun 06 2013 03:49:52 GMT+0200 (CEST) | ||
* Date: Thu Jun 06 2013 17:25:38 GMT+0200 (CEST) | ||
*/ | ||
@@ -11,0 +11,0 @@ ( function ( global ) { |
{ | ||
"name": "oojs", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Power for object oriented javascript libraries.", | ||
@@ -25,16 +25,2 @@ "keywords": [ | ||
], | ||
"author": { | ||
"name": "Timo Tijhof", | ||
"web": "https://github.com/Krinkle" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Trevor Parscal", | ||
"web": "http://www.trevorparscal.com/" | ||
}, | ||
{ | ||
"name": "Roan Kattouw", | ||
"web": "https://github.com/catrope" | ||
} | ||
], | ||
"main": "./src/oo.js", | ||
@@ -41,0 +27,0 @@ "scripts": { |
@@ -1,5 +0,5 @@ | ||
oojs [](https://travis-ci.org/trevorparscal/oojs) [](https://badge.fury.io/js/oojs) | ||
OOJS [](https://travis-ci.org/trevorparscal/oojs) [](https://badge.fury.io/js/oojs) | ||
================= | ||
oo.js is a JavaScript library for working with objects. | ||
OOJS is a JavaScript library for working with objects. | ||
@@ -59,2 +59,5 @@ Key features include inheritance, mixins and utilities for working with objects. | ||
$ git checkout origin/master | ||
# Get commits since last version bump | ||
# Copy the resulting list into a new section on History.md | ||
$ git log --format='* %s (%aN)' --no-merges v$(node -e 'console.log(JSON.parse(require("fs").readFileSync("package.json")).version);')...HEAD | ||
# The following will: | ||
@@ -61,0 +64,0 @@ # - Increase the version number in package.json |
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Copyright 2011-2013 Timo Tijhof, Trevor Parscal and Roan Kattouw. | ||
* Copyright 2011-2013 OOJS Team and other contributors. | ||
* Released under the MIT license | ||
@@ -8,0 +8,0 @@ * http://oojs.mit-license.org |
@@ -11,3 +11,3 @@ /*jshint node:true */ | ||
qunit.run({ | ||
qunit.run( { | ||
code: { | ||
@@ -21,2 +21,6 @@ path: './dist/oo.js', | ||
] | ||
}); | ||
}, function ( err, report ) { | ||
if ( err || report.failed ) { | ||
process.exit( 1 ); | ||
} | ||
} ); |
@@ -43,3 +43,9 @@ /*! | ||
ee.on( 'context-default', function () { | ||
assert.strictEqual( this, global, 'Default context for handlers in non-strict mode is global' ); | ||
if ( global.window ) { | ||
// Browser | ||
assert.strictEqual( this, global, 'Default context for handlers in non-strict mode is global' ); | ||
} else { | ||
// Node (the global object is different per file scope, can't compare directly) | ||
assert.strictEqual( !!this.global.$ref, !!global.$ref, 'Default context for handlers in non-strict mode is global' ); | ||
} | ||
} ); | ||
@@ -46,0 +52,0 @@ /* |
Sorry, the diff of this file is not supported yet
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
58401
23
1832
75
2