Skip to content

Commit

Permalink
Merge branch 'release/0.1.33'
Browse files Browse the repository at this point in the history
  • Loading branch information
codelabnz committed Sep 11, 2015
2 parents 7570e2c + fe1fff7 commit 71ffde0
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 6 deletions.
6 changes: 5 additions & 1 deletion dist/amd/autocomplete-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,12 @@ 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: 'placeholder',
attribute: 'placeholder',
defaultValue: ''
})(AutoCompleteWidget) || AutoCompleteWidget;
AutoCompleteWidget = (0, _aureliaFramework.bindable)({
name: 'displayedText',
attribute: 'displayed-text',
Expand Down
6 changes: 5 additions & 1 deletion dist/commonjs/autocomplete-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,12 @@ 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: 'placeholder',
attribute: 'placeholder',
defaultValue: ''
})(AutoCompleteWidget) || AutoCompleteWidget;
AutoCompleteWidget = (0, _aureliaFramework.bindable)({
name: 'displayedText',
attribute: 'displayed-text',
Expand Down
6 changes: 5 additions & 1 deletion dist/es6/autocomplete-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ import autocomplete from 'devbridge/jQuery-Autocomplete';
attribute:'displayed-text',
defaultBindingMode: bindingMode.twoWay
})
@bindable({
name: 'placeholder',
attribute: 'placeholder',
defaultValue: ''
})
@bindable('title')
@bindable('placeholder')
export class AutoCompleteWidget {
constructor(element) {
this.element = element;
Expand Down
6 changes: 5 additions & 1 deletion dist/system/autocomplete-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,12 @@ System.register(['aurelia-framework', 'jquery', 'devbridge/jQuery-Autocomplete']
}]);

var _AutoCompleteWidget = AutoCompleteWidget;
AutoCompleteWidget = bindable('placeholder')(AutoCompleteWidget) || AutoCompleteWidget;
AutoCompleteWidget = bindable('title')(AutoCompleteWidget) || AutoCompleteWidget;
AutoCompleteWidget = bindable({
name: 'placeholder',
attribute: 'placeholder',
defaultValue: ''
})(AutoCompleteWidget) || AutoCompleteWidget;
AutoCompleteWidget = bindable({
name: 'displayedText',
attribute: 'displayed-text',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-widgets",
"version": "0.1.32",
"version": "0.1.33",
"description": "Collection of third party wrappers that get used in Aurelia applications",
"homepage": "http://drivesoftware.co.nz",
"main": "index",
Expand Down
6 changes: 5 additions & 1 deletion src/autocomplete-widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ import autocomplete from 'devbridge/jQuery-Autocomplete';
attribute:'displayed-text',
defaultBindingMode: bindingMode.twoWay
})
@bindable({
name: 'placeholder',
attribute: 'placeholder',
defaultValue: ''
})
@bindable('title')
@bindable('placeholder')
export class AutoCompleteWidget {
constructor(element) {
this.element = element;
Expand Down

0 comments on commit 71ffde0

Please sign in to comment.