diff --git a/CHANGES.md b/CHANGES.md index 1ffe4c3..aa5a51e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,14 @@ +### 0.10.3 + +* Experimental support for relative AMD plugin resource ids in wire specs. For example: + +```js +myTemplate: { + // Find template.html relative to the current wire spec + module: 'text!./template.html' +} +``` + ### 0.10.2 * Experimental support for relative module ids in wire specs in all supported environments. diff --git a/README.md b/README.md index b9b3ed0..1affc73 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,17 @@ and check out a few [example applications](docs/introduction.md#example-apps). # What's new +### 0.10.3 + +* Experimental support for relative AMD plugin resource ids in wire specs. For example: + +```js +myTemplate: { + // Find template.html relative to the current wire spec + module: 'text!./template.html' +} +``` + ### 0.10.2 * Experimental support for relative module ids in wire specs in all supported environments. diff --git a/bower.json b/bower.json index 0f8f574..424882d 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "wire", - "version": "0.10.2", + "version": "0.10.3", "main": "./wire.js", "dependencies": { "meld": "~1", diff --git a/package.json b/package.json index e0bb68b..88e305a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wire", - "version": "0.10.2", + "version": "0.10.3", "description": "A light, fast, flexible Javascript IOC container.", "keywords": [ "ioc", diff --git a/test/node/version-test.js b/test/node/version-test.js index 55a09c3..40ccefe 100644 --- a/test/node/version-test.js +++ b/test/node/version-test.js @@ -1,20 +1,22 @@ (function(buster) { "use strict"; - var assert, refute, fail, bowerJson, packageJson; + var assert, refute, fail, bowerJson, packageJson, wire; assert = buster.assert; refute = buster.refute; fail = buster.assertions.fail; + wire = require('../../wire'); bowerJson = require('../../bower'); packageJson = require('../../package'); buster.testCase('wire/version', { - 'should have the same name for package.json and component.json': function () { + 'should have the same name for package.json and bower.json': function () { assert.same(bowerJson.name, packageJson.name); }, - 'should have the same version for package.json and component.json': function () { + 'should have the same version for wire, package.json, and bower.json': function () { + assert.same(wire.version, packageJson.version); assert.same(bowerJson.version, packageJson.version); } }); diff --git a/wire.js b/wire.js index 7013ae9..55e06bd 100644 --- a/wire.js +++ b/wire.js @@ -13,14 +13,14 @@ * * @author Brian Cavalier * @author John Hann - * @version 0.10.1 + * @version 0.10.3 */ (function(rootSpec, define){ 'use strict'; define(function(require) { var createContext, rootContext, rootOptions; - wire.version = '0.10.2'; + wire.version = '0.10.3'; createContext = require('./lib/context');