Comparing version 0.2.3 to 0.3.0
18
index.js
@@ -135,21 +135,3 @@ 'use strict'; | ||
/** | ||
* Compile iterator to resolve paths to various resources supplied to the module. | ||
* | ||
* @param {String} dir base directory | ||
* @param {Object} stack original collection | ||
* @param {Mixed} object reference to resource | ||
* @returns {Function} iterator | ||
* @api private | ||
*/ | ||
if (options.resolve !== false) | ||
Base.writable('resolve', function resolve(dir, stack) { | ||
return function resolver(object) { | ||
if ('string' === typeof stack[object]) { | ||
stack[object] = path.join(dir, stack[object]); | ||
} | ||
}; | ||
}); | ||
return Base; | ||
}; |
{ | ||
"name": "fusing", | ||
"version": "0.2.3", | ||
"version": "0.3.0", | ||
"description": "Prototype fusion", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha $(find test -name '*.test.js')" | ||
"test": "NODE_ENV=test ./node_modules/.bin/mocha $(find test -name '*.test.js')", | ||
"coverage": "NODE_ENV=test ./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha $(find test -name '*.test.js') --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js || true && rm -rf ./coverage" | ||
}, | ||
@@ -35,5 +36,8 @@ "repository": { | ||
"chai": "1.9.x", | ||
"mocha": "1.18.x", | ||
"coveralls": "2.8.x", | ||
"istanbul": "0.2.x", | ||
"mocha": "1.19.x", | ||
"mocha-lcov-reporter": "0.0.x", | ||
"pre-commit": "0.0.x" | ||
} | ||
} |
@@ -1,4 +0,6 @@ | ||
# fusing | ||
# Fusing [![Build Status][status]](https://travis-ci.org/bigpipe/fusing) [![NPM version][npmimgurl]](http://badge.fury.io/js/fusing) [![Coverage Status][coverage]](http://coveralls.io/r/bigpipe/fusing?branch=master) | ||
[![Build Status](https://travis-ci.org/bigpipe/fusing.png?branch=master)](https://travis-ci.org/bigpipe/fusing) | ||
[status]: https://travis-ci.org/bigpipe/fusing.png | ||
[npmimgurl]: https://badge.fury.io/js/fusing.png | ||
[coverage]: http://coveralls.io/repos/bigpipe/fusing/badge.png?branch=master | ||
@@ -83,3 +85,3 @@ Fusing is a small library that creates the base class that is used in all of | ||
## Example.extend | ||
### Example.extend | ||
@@ -102,3 +104,3 @@ This allows you to use the same `extend` functionality that you might be | ||
## Example.predefine | ||
### Example.predefine | ||
@@ -105,0 +107,0 @@ As it's sometimes useful to also create readable and writable properties when |
Sorry, the diff of this file is not supported yet
14762
131
6
307