diff --git a/config.js b/config.js index 707dd61..a7f6bd9 100644 --- a/config.js +++ b/config.js @@ -36,9 +36,6 @@ System.config({ "aurelia-templating-binding": "github:aurelia/templating-binding@0.14.0", "aurelia-templating-resources": "github:aurelia/templating-resources@0.14.0", "aurelia-templating-router": "github:aurelia/templating-router@0.15.0", - "aurelia/templating": "github:aurelia/templating@0.14.4", - "aurelia/templating-resources": "github:aurelia/templating-resources@0.14.0", - "aurelia/templating-router": "github:aurelia/templating-router@0.15.0", "babel": "npm:babel-core@5.8.22", "babel-runtime": "npm:babel-runtime@5.8.20", "core-js": "npm:core-js@1.1.0", diff --git a/dist/amd/autocomplete-widget.html b/dist/amd/autocomplete-widget.html index c93c48f..1e13148 100644 --- a/dist/amd/autocomplete-widget.html +++ b/dist/amd/autocomplete-widget.html @@ -1,7 +1,7 @@ diff --git a/dist/amd/autocomplete-widget.js b/dist/amd/autocomplete-widget.js index 545f222..df7f34f 100644 --- a/dist/amd/autocomplete-widget.js +++ b/dist/amd/autocomplete-widget.js @@ -57,6 +57,7 @@ define(['exports', 'aurelia-framework', 'jquery', 'devbridge/jQuery-Autocomplete }]); var _AutoCompleteWidget = AutoCompleteWidget; + AutoCompleteWidget = (0, _aureliaFramework.bindable)('placeholder')(AutoCompleteWidget) || AutoCompleteWidget; AutoCompleteWidget = (0, _aureliaFramework.bindable)('title')(AutoCompleteWidget) || AutoCompleteWidget; AutoCompleteWidget = (0, _aureliaFramework.bindable)({ name: 'displayedText', diff --git a/dist/amd/index.js b/dist/amd/index.js index 95bbd91..d174bb7 100644 --- a/dist/amd/index.js +++ b/dist/amd/index.js @@ -7,7 +7,6 @@ define(['exports'], function (exports) { exports.configure = configure; function configure(aurelia) { - aurelia.globalResources('./lookup-widget'); - aurelia.globalResources('./autocomplete-widget'); + aurelia.globalResources(['lookup-widget', 'autocomplete-widget']); } }); \ No newline at end of file diff --git a/dist/commonjs/autocomplete-widget.html b/dist/commonjs/autocomplete-widget.html index c93c48f..1e13148 100644 --- a/dist/commonjs/autocomplete-widget.html +++ b/dist/commonjs/autocomplete-widget.html @@ -1,7 +1,7 @@ diff --git a/dist/commonjs/autocomplete-widget.js b/dist/commonjs/autocomplete-widget.js index 1524e67..556dd01 100644 --- a/dist/commonjs/autocomplete-widget.js +++ b/dist/commonjs/autocomplete-widget.js @@ -62,6 +62,7 @@ var AutoCompleteWidget = (function () { }]); var _AutoCompleteWidget = AutoCompleteWidget; + AutoCompleteWidget = (0, _aureliaFramework.bindable)('placeholder')(AutoCompleteWidget) || AutoCompleteWidget; AutoCompleteWidget = (0, _aureliaFramework.bindable)('title')(AutoCompleteWidget) || AutoCompleteWidget; AutoCompleteWidget = (0, _aureliaFramework.bindable)({ name: 'displayedText', diff --git a/dist/commonjs/index.js b/dist/commonjs/index.js index 634e6b5..81adc21 100644 --- a/dist/commonjs/index.js +++ b/dist/commonjs/index.js @@ -6,6 +6,5 @@ Object.defineProperty(exports, '__esModule', { exports.configure = configure; function configure(aurelia) { - aurelia.globalResources('./lookup-widget'); - aurelia.globalResources('./autocomplete-widget'); + aurelia.globalResources(['lookup-widget', 'autocomplete-widget']); } \ No newline at end of file diff --git a/dist/es6/autocomplete-widget.html b/dist/es6/autocomplete-widget.html index c93c48f..1e13148 100644 --- a/dist/es6/autocomplete-widget.html +++ b/dist/es6/autocomplete-widget.html @@ -1,7 +1,7 @@ diff --git a/dist/es6/autocomplete-widget.js b/dist/es6/autocomplete-widget.js index 8351aed..8dded3e 100644 --- a/dist/es6/autocomplete-widget.js +++ b/dist/es6/autocomplete-widget.js @@ -20,6 +20,7 @@ import autocomplete from 'devbridge/jQuery-Autocomplete'; defaultBindingMode: bindingMode.twoWay }) @bindable('title') +@bindable('placeholder') export class AutoCompleteWidget { constructor(element) { this.element = element; diff --git a/dist/es6/index.js b/dist/es6/index.js index aa3dbb0..0578bc1 100644 --- a/dist/es6/index.js +++ b/dist/es6/index.js @@ -1,4 +1,3 @@ export function configure(aurelia) { - aurelia.globalResources('./lookup-widget'); - aurelia.globalResources('./autocomplete-widget'); + aurelia.globalResources(['lookup-widget','autocomplete-widget']); } diff --git a/dist/system/autocomplete-widget.html b/dist/system/autocomplete-widget.html index c93c48f..1e13148 100644 --- a/dist/system/autocomplete-widget.html +++ b/dist/system/autocomplete-widget.html @@ -1,7 +1,7 @@ diff --git a/dist/system/autocomplete-widget.js b/dist/system/autocomplete-widget.js index 6725a47..f25d19c 100644 --- a/dist/system/autocomplete-widget.js +++ b/dist/system/autocomplete-widget.js @@ -61,6 +61,7 @@ System.register(['aurelia-framework', 'jquery', 'devbridge/jQuery-Autocomplete'] }]); var _AutoCompleteWidget = AutoCompleteWidget; + AutoCompleteWidget = bindable('placeholder')(AutoCompleteWidget) || AutoCompleteWidget; AutoCompleteWidget = bindable('title')(AutoCompleteWidget) || AutoCompleteWidget; AutoCompleteWidget = bindable({ name: 'displayedText', diff --git a/dist/system/index.js b/dist/system/index.js index 248e731..03e0708 100644 --- a/dist/system/index.js +++ b/dist/system/index.js @@ -4,8 +4,7 @@ System.register([], function (_export) { _export('configure', configure); function configure(aurelia) { - aurelia.globalResources('./lookup-widget'); - aurelia.globalResources('./autocomplete-widget'); + aurelia.globalResources(['lookup-widget', 'autocomplete-widget']); } return { diff --git a/package.json b/package.json index d8e7bd0..b686068 100644 --- a/package.json +++ b/package.json @@ -69,9 +69,6 @@ "aurelia-templating-binding": "github:aurelia/templating-binding@^0.14.0", "aurelia-templating-resources": "github:aurelia/templating-resources@^0.14.0", "aurelia-templating-router": "github:aurelia/templating-router@^0.15.0", - "aurelia/templating": "github:aurelia/templating@^0.14.4", - "aurelia/templating-resources": "github:aurelia/templating-resources@^0.14.0", - "aurelia/templating-router": "github:aurelia/templating-router@^0.15.0", "css": "github:systemjs/plugin-css@^0.1.6", "devbridge/jQuery-Autocomplete": "github:devbridge/jQuery-Autocomplete@^1.2.21", "jquery": "github:components/jquery@^2.1.3", diff --git a/src/autocomplete-widget.html b/src/autocomplete-widget.html index c93c48f..1e13148 100644 --- a/src/autocomplete-widget.html +++ b/src/autocomplete-widget.html @@ -1,7 +1,7 @@ diff --git a/src/autocomplete-widget.js b/src/autocomplete-widget.js index 8351aed..8dded3e 100644 --- a/src/autocomplete-widget.js +++ b/src/autocomplete-widget.js @@ -20,6 +20,7 @@ import autocomplete from 'devbridge/jQuery-Autocomplete'; defaultBindingMode: bindingMode.twoWay }) @bindable('title') +@bindable('placeholder') export class AutoCompleteWidget { constructor(element) { this.element = element; diff --git a/src/index.js b/src/index.js index aa3dbb0..0578bc1 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,3 @@ export function configure(aurelia) { - aurelia.globalResources('./lookup-widget'); - aurelia.globalResources('./autocomplete-widget'); + aurelia.globalResources(['lookup-widget','autocomplete-widget']); }