Skip to content

Commit

Permalink
fix for 1.0.16 - currency input didnt define nextID
Browse files Browse the repository at this point in the history
  • Loading branch information
simonfox committed Apr 3, 2017
1 parent 7107c33 commit 056ddcd
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions dist/amd/currency-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ define(['exports', 'aurelia-framework', 'aurelia-pal', 'aurelia-dependency-injec
var KEY_A = 65;
var KEY_Z = 90;

var nextID = 0;

var CurrencyInput = exports.CurrencyInput = (_dec = (0, _aureliaFramework.customElement)('currency-input'), _dec2 = (0, _aureliaFramework.bindable)({
name: 'value',
attribute: 'value',
Expand Down
2 changes: 2 additions & 0 deletions dist/aurelia-widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ import {inject} from 'aurelia-dependency-injection'
const KEY_A = 65;
const KEY_Z = 90;

let nextID = 0;

@customElement('currency-input')
@bindable({
name:'value',
Expand Down
2 changes: 2 additions & 0 deletions dist/commonjs/currency-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ function _initializerWarningHelper(descriptor, context) {
var KEY_A = 65;
var KEY_Z = 90;

var nextID = 0;

var CurrencyInput = exports.CurrencyInput = (_dec = (0, _aureliaFramework.customElement)('currency-input'), _dec2 = (0, _aureliaFramework.bindable)({
name: 'value',
attribute: 'value',
Expand Down
2 changes: 2 additions & 0 deletions dist/es2015/currency-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ import numeral from 'numeral';
const KEY_A = 65;
const KEY_Z = 90;

let nextID = 0;

export let CurrencyInput = (_dec = customElement('currency-input'), _dec2 = bindable({
name: 'value',
attribute: 'value',
Expand Down
3 changes: 2 additions & 1 deletion dist/system/currency-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
System.register(['aurelia-framework', 'aurelia-pal', 'aurelia-dependency-injection', 'numeral'], function (_export, _context) {
"use strict";

var customElement, bindable, bindingMode, computedFrom, TaskQueue, DOM, inject, numeral, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _desc, _value, _class2, _descriptor, KEY_A, KEY_Z, CurrencyInput;
var customElement, bindable, bindingMode, computedFrom, TaskQueue, DOM, inject, numeral, _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec10, _dec11, _class, _desc, _value, _class2, _descriptor, KEY_A, KEY_Z, nextID, CurrencyInput;

function _initDefineProp(target, property, descriptor, context) {
if (!descriptor) return;
Expand Down Expand Up @@ -71,6 +71,7 @@ System.register(['aurelia-framework', 'aurelia-pal', 'aurelia-dependency-injecti
execute: function () {
KEY_A = 65;
KEY_Z = 90;
nextID = 0;

_export('CurrencyInput', CurrencyInput = (_dec = customElement('currency-input'), _dec2 = bindable({
name: 'value',
Expand Down
3 changes: 3 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 1.0.17 (2017-04-03)


### 1.0.16 (2017-04-03)


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": "1.0.16",
"version": "1.0.17",
"description": "A Collection of UI Widgets for use in Aurelia applications",
"homepage": "http://drivesoftware.co.nz",
"main": "index",
Expand Down
2 changes: 2 additions & 0 deletions src/currency-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import numeral from 'numeral';
const KEY_A = 65;
const KEY_Z = 90;

let nextID = 0;

@customElement('currency-input')
@bindable({
name:'value',
Expand Down

0 comments on commit 056ddcd

Please sign in to comment.