Skip to content

Commit

Permalink
chore(all): prepare release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Dec 10, 2016
1 parent 2a368c3 commit 149508e
Show file tree
Hide file tree
Showing 21 changed files with 74 additions and 71 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating-resources",
"version": "1.1.1",
"version": "1.2.0",
"description": "A standard set of behaviors, converters and other resources for use with the Aurelia templating library.",
"keywords": [
"aurelia",
Expand Down
8 changes: 4 additions & 4 deletions dist/amd/array-repeat-strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ define(['exports', './repeat-utilities', 'aurelia-binding'], function (exports,

if (repeat.__queuedSplices) {
for (var i = 0, ii = splices.length; i < ii; ++i) {
var _splices$i = splices[i];
var index = _splices$i.index;
var removed = _splices$i.removed;
var addedCount = _splices$i.addedCount;
var _splices$i = splices[i],
index = _splices$i.index,
removed = _splices$i.removed,
addedCount = _splices$i.addedCount;

(0, _aureliaBinding.mergeSplice)(repeat.__queuedSplices, index, removed, addedCount);
}
Expand Down
6 changes: 3 additions & 3 deletions dist/amd/debounce-binding-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ define(['exports', 'aurelia-binding'], function (exports, _aureliaBinding) {
}

DebounceBindingBehavior.prototype.bind = function bind(binding, source) {
var delay = arguments.length <= 2 || arguments[2] === undefined ? 200 : arguments[2];
var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;

var methodToDebounce = 'updateTarget';
if (binding.callSource) {
methodToDebounce = 'callSource';
} else if (binding.updateSource && binding.mode === _aureliaBinding.bindingMode.twoWay) {
methodToDebounce = 'updateSource';
}
methodToDebounce = 'updateSource';
}

binding.debouncedMethod = binding[methodToDebounce];
binding.debouncedMethod.originalName = methodToDebounce;
Expand Down
6 changes: 3 additions & 3 deletions dist/amd/throttle-binding-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ define(['exports', 'aurelia-binding'], function (exports, _aureliaBinding) {
}

ThrottleBindingBehavior.prototype.bind = function bind(binding, source) {
var delay = arguments.length <= 2 || arguments[2] === undefined ? 200 : arguments[2];
var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;

var methodToThrottle = 'updateTarget';
if (binding.callSource) {
methodToThrottle = 'callSource';
} else if (binding.updateSource && binding.mode === _aureliaBinding.bindingMode.twoWay) {
methodToThrottle = 'updateSource';
}
methodToThrottle = 'updateSource';
}

binding.throttledMethod = binding[methodToThrottle];
binding.throttledMethod.originalName = methodToThrottle;
Expand Down
2 changes: 0 additions & 2 deletions dist/aurelia-templating-resources.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,6 @@ export declare class Focus {
}
export declare class DebounceBindingBehavior {
bind(binding?: any, source?: any, delay?: any): any;

// should not delay initial target update that occurs during bind.
unbind(binding?: any, source?: any): any;
}

Expand Down
8 changes: 4 additions & 4 deletions dist/commonjs/array-repeat-strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ var ArrayRepeatStrategy = exports.ArrayRepeatStrategy = function () {

if (repeat.__queuedSplices) {
for (var i = 0, ii = splices.length; i < ii; ++i) {
var _splices$i = splices[i];
var index = _splices$i.index;
var removed = _splices$i.removed;
var addedCount = _splices$i.addedCount;
var _splices$i = splices[i],
index = _splices$i.index,
removed = _splices$i.removed,
addedCount = _splices$i.addedCount;

(0, _aureliaBinding.mergeSplice)(repeat.__queuedSplices, index, removed, addedCount);
}
Expand Down
6 changes: 3 additions & 3 deletions dist/commonjs/debounce-binding-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ var DebounceBindingBehavior = exports.DebounceBindingBehavior = function () {
}

DebounceBindingBehavior.prototype.bind = function bind(binding, source) {
var delay = arguments.length <= 2 || arguments[2] === undefined ? 200 : arguments[2];
var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;

var methodToDebounce = 'updateTarget';
if (binding.callSource) {
methodToDebounce = 'callSource';
} else if (binding.updateSource && binding.mode === _aureliaBinding.bindingMode.twoWay) {
methodToDebounce = 'updateSource';
}
methodToDebounce = 'updateSource';
}

binding.debouncedMethod = binding[methodToDebounce];
binding.debouncedMethod.originalName = methodToDebounce;
Expand Down
6 changes: 3 additions & 3 deletions dist/commonjs/throttle-binding-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ var ThrottleBindingBehavior = exports.ThrottleBindingBehavior = function () {
}

ThrottleBindingBehavior.prototype.bind = function bind(binding, source) {
var delay = arguments.length <= 2 || arguments[2] === undefined ? 200 : arguments[2];
var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;

var methodToThrottle = 'updateTarget';
if (binding.callSource) {
methodToThrottle = 'callSource';
} else if (binding.updateSource && binding.mode === _aureliaBinding.bindingMode.twoWay) {
methodToThrottle = 'updateSource';
}
methodToThrottle = 'updateSource';
}

binding.throttledMethod = binding[methodToThrottle];
binding.throttledMethod.originalName = methodToThrottle;
Expand Down
4 changes: 2 additions & 2 deletions dist/es2015/debounce-binding-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export let DebounceBindingBehavior = class DebounceBindingBehavior {
if (binding.callSource) {
methodToDebounce = 'callSource';
} else if (binding.updateSource && binding.mode === bindingMode.twoWay) {
methodToDebounce = 'updateSource';
}
methodToDebounce = 'updateSource';
}

binding.debouncedMethod = binding[methodToDebounce];
binding.debouncedMethod.originalName = methodToDebounce;
Expand Down
4 changes: 2 additions & 2 deletions dist/es2015/throttle-binding-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export let ThrottleBindingBehavior = class ThrottleBindingBehavior {
if (binding.callSource) {
methodToThrottle = 'callSource';
} else if (binding.updateSource && binding.mode === bindingMode.twoWay) {
methodToThrottle = 'updateSource';
}
methodToThrottle = 'updateSource';
}

binding.throttledMethod = binding[methodToThrottle];
binding.throttledMethod.originalName = methodToThrottle;
Expand Down
8 changes: 4 additions & 4 deletions dist/native-modules/array-repeat-strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,10 @@ export var ArrayRepeatStrategy = function () {

if (repeat.__queuedSplices) {
for (var i = 0, ii = splices.length; i < ii; ++i) {
var _splices$i = splices[i];
var index = _splices$i.index;
var removed = _splices$i.removed;
var addedCount = _splices$i.addedCount;
var _splices$i = splices[i],
index = _splices$i.index,
removed = _splices$i.removed,
addedCount = _splices$i.addedCount;

mergeSplice(repeat.__queuedSplices, index, removed, addedCount);
}
Expand Down
6 changes: 3 additions & 3 deletions dist/native-modules/debounce-binding-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ export var DebounceBindingBehavior = function () {
}

DebounceBindingBehavior.prototype.bind = function bind(binding, source) {
var delay = arguments.length <= 2 || arguments[2] === undefined ? 200 : arguments[2];
var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;

var methodToDebounce = 'updateTarget';
if (binding.callSource) {
methodToDebounce = 'callSource';
} else if (binding.updateSource && binding.mode === bindingMode.twoWay) {
methodToDebounce = 'updateSource';
}
methodToDebounce = 'updateSource';
}

binding.debouncedMethod = binding[methodToDebounce];
binding.debouncedMethod.originalName = methodToDebounce;
Expand Down
6 changes: 3 additions & 3 deletions dist/native-modules/throttle-binding-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ export var ThrottleBindingBehavior = function () {
}

ThrottleBindingBehavior.prototype.bind = function bind(binding, source) {
var delay = arguments.length <= 2 || arguments[2] === undefined ? 200 : arguments[2];
var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;

var methodToThrottle = 'updateTarget';
if (binding.callSource) {
methodToThrottle = 'callSource';
} else if (binding.updateSource && binding.mode === bindingMode.twoWay) {
methodToThrottle = 'updateSource';
}
methodToThrottle = 'updateSource';
}

binding.throttledMethod = binding[methodToThrottle];
binding.throttledMethod.originalName = methodToThrottle;
Expand Down
8 changes: 4 additions & 4 deletions dist/system/array-repeat-strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ System.register(['./repeat-utilities', 'aurelia-binding'], function (_export, _c

if (repeat.__queuedSplices) {
for (var i = 0, ii = splices.length; i < ii; ++i) {
var _splices$i = splices[i];
var index = _splices$i.index;
var removed = _splices$i.removed;
var addedCount = _splices$i.addedCount;
var _splices$i = splices[i],
index = _splices$i.index,
removed = _splices$i.removed,
addedCount = _splices$i.addedCount;

mergeSplice(repeat.__queuedSplices, index, removed, addedCount);
}
Expand Down
6 changes: 3 additions & 3 deletions dist/system/debounce-binding-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ System.register(['aurelia-binding'], function (_export, _context) {
}

DebounceBindingBehavior.prototype.bind = function bind(binding, source) {
var delay = arguments.length <= 2 || arguments[2] === undefined ? 200 : arguments[2];
var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;

var methodToDebounce = 'updateTarget';
if (binding.callSource) {
methodToDebounce = 'callSource';
} else if (binding.updateSource && binding.mode === bindingMode.twoWay) {
methodToDebounce = 'updateSource';
}
methodToDebounce = 'updateSource';
}

binding.debouncedMethod = binding[methodToDebounce];
binding.debouncedMethod.originalName = methodToDebounce;
Expand Down
2 changes: 1 addition & 1 deletion dist/system/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ System.register(['./aurelia-templating-resources'], function (_export, _context)
var _exportObj = {};

for (var _key in _aureliaTemplatingResources) {
if (_key !== "default" && key !== "__esModule") _exportObj[_key] = _aureliaTemplatingResources[_key];
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _aureliaTemplatingResources[_key];
}

_export(_exportObj);
Expand Down
6 changes: 3 additions & 3 deletions dist/system/throttle-binding-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ System.register(['aurelia-binding'], function (_export, _context) {
}

ThrottleBindingBehavior.prototype.bind = function bind(binding, source) {
var delay = arguments.length <= 2 || arguments[2] === undefined ? 200 : arguments[2];
var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;

var methodToThrottle = 'updateTarget';
if (binding.callSource) {
methodToThrottle = 'callSource';
} else if (binding.updateSource && binding.mode === bindingMode.twoWay) {
methodToThrottle = 'updateSource';
}
methodToThrottle = 'updateSource';
}

binding.throttledMethod = binding[methodToThrottle];
binding.throttledMethod.originalName = methodToThrottle;
Expand Down
42 changes: 21 additions & 21 deletions dist/temp/aurelia-templating-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports.Repeat = exports.RepeatStrategyLocator = exports.Show = exports.Hide = exports.SignalBindingBehavior = exports.SanitizeHTMLValueConverter = exports.SetRepeatStrategy = exports.NumberRepeatStrategy = exports.MapRepeatStrategy = exports.ArrayRepeatStrategy = exports.AbstractRepeater = exports.lifecycleOptionalBehaviors = exports.AttrBindingBehavior = exports.aureliaHideClassName = exports.TwoWayBindingBehavior = exports.OneWayBindingBehavior = exports.OneTimeBindingBehavior = exports.BindingSignaler = exports.Compose = exports.DebounceBindingBehavior = exports.Focus = exports.HTMLSanitizer = exports.If = exports.NullRepeatStrategy = exports.Replaceable = exports.ThrottleBindingBehavior = exports.UpdateTriggerBindingBehavior = exports.With = undefined;

var _dec, _dec2, _class, _class2, _temp, _dec3, _dec4, _class3, _dec5, _dec6, _class4, _dec7, _dec8, _class5, _dec12, _dec13, _class8, _desc, _value, _class9, _descriptor, _descriptor2, _descriptor3, _dec14, _class12, _dec15, _class13, _dec16, _class14, _dec17, _dec18, _class15, _dec19, _dec20, _class17, _dec21, _dec22, _class18, _dec23, _dec24, _class19, _desc2, _value2, _class20, _descriptor4, _descriptor5, _descriptor6, _descriptor7;
var _dec, _dec2, _class, _class2, _temp, _dec3, _dec4, _class3, _dec5, _dec6, _class4, _dec7, _dec8, _class5, _dec12, _dec13, _class8, _desc, _value, _class9, _descriptor, _descriptor2, _descriptor3, _dec14, _class12, _dec15, _class13, _dec16, _class14, _dec17, _dec18, _class15, _dec19, _dec20, _class16, _dec21, _dec22, _class17, _dec23, _dec24, _class18, _desc2, _value2, _class19, _descriptor4, _descriptor5, _descriptor6, _descriptor7;

exports.updateOverrideContexts = updateOverrideContexts;
exports.createFullOverrideContext = createFullOverrideContext;
Expand Down Expand Up @@ -197,14 +197,14 @@ var ThrottleBindingBehavior = exports.ThrottleBindingBehavior = function () {
}

ThrottleBindingBehavior.prototype.bind = function bind(binding, source) {
var delay = arguments.length <= 2 || arguments[2] === undefined ? 200 : arguments[2];
var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;

var methodToThrottle = 'updateTarget';
if (binding.callSource) {
methodToThrottle = 'callSource';
} else if (binding.updateSource && binding.mode === _aureliaBinding.bindingMode.twoWay) {
methodToThrottle = 'updateSource';
}
methodToThrottle = 'updateSource';
}

binding.throttledMethod = binding[methodToThrottle];
binding.throttledMethod.originalName = methodToThrottle;
Expand Down Expand Up @@ -581,14 +581,14 @@ var DebounceBindingBehavior = exports.DebounceBindingBehavior = function () {
}

DebounceBindingBehavior.prototype.bind = function bind(binding, source) {
var delay = arguments.length <= 2 || arguments[2] === undefined ? 200 : arguments[2];
var delay = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 200;

var methodToDebounce = 'updateTarget';
if (binding.callSource) {
methodToDebounce = 'callSource';
} else if (binding.updateSource && binding.mode === _aureliaBinding.bindingMode.twoWay) {
methodToDebounce = 'updateSource';
}
methodToDebounce = 'updateSource';
}

binding.debouncedMethod = binding[methodToDebounce];
binding.debouncedMethod.originalName = methodToDebounce;
Expand Down Expand Up @@ -1171,10 +1171,10 @@ var ArrayRepeatStrategy = exports.ArrayRepeatStrategy = function () {

if (repeat.__queuedSplices) {
for (var i = 0, ii = splices.length; i < ii; ++i) {
var _splices$i = splices[i];
var index = _splices$i.index;
var removed = _splices$i.removed;
var addedCount = _splices$i.addedCount;
var _splices$i = splices[i],
index = _splices$i.index,
removed = _splices$i.removed,
addedCount = _splices$i.addedCount;

(0, _aureliaBinding.mergeSplice)(repeat.__queuedSplices, index, removed, addedCount);
}
Expand Down Expand Up @@ -1618,7 +1618,7 @@ var SignalBindingBehavior = exports.SignalBindingBehavior = function () {
return SignalBindingBehavior;
}();

var Hide = exports.Hide = (_dec19 = (0, _aureliaTemplating.customAttribute)('hide'), _dec20 = (0, _aureliaDependencyInjection.inject)(_aureliaPal.DOM.Element, _aureliaTemplating.Animator, _aureliaDependencyInjection.Optional.of(_aureliaPal.DOM.boundary, true)), _dec19(_class17 = _dec20(_class17 = function () {
var Hide = exports.Hide = (_dec19 = (0, _aureliaTemplating.customAttribute)('hide'), _dec20 = (0, _aureliaDependencyInjection.inject)(_aureliaPal.DOM.Element, _aureliaTemplating.Animator, _aureliaDependencyInjection.Optional.of(_aureliaPal.DOM.boundary, true)), _dec19(_class16 = _dec20(_class16 = function () {
function Hide(element, animator, domBoundary) {
_classCallCheck(this, Hide);

Expand All @@ -1644,8 +1644,8 @@ var Hide = exports.Hide = (_dec19 = (0, _aureliaTemplating.customAttribute)('hid
};

return Hide;
}()) || _class17) || _class17);
var Show = exports.Show = (_dec21 = (0, _aureliaTemplating.customAttribute)('show'), _dec22 = (0, _aureliaDependencyInjection.inject)(_aureliaPal.DOM.Element, _aureliaTemplating.Animator, _aureliaDependencyInjection.Optional.of(_aureliaPal.DOM.boundary, true)), _dec21(_class18 = _dec22(_class18 = function () {
}()) || _class16) || _class16);
var Show = exports.Show = (_dec21 = (0, _aureliaTemplating.customAttribute)('show'), _dec22 = (0, _aureliaDependencyInjection.inject)(_aureliaPal.DOM.Element, _aureliaTemplating.Animator, _aureliaDependencyInjection.Optional.of(_aureliaPal.DOM.boundary, true)), _dec21(_class17 = _dec22(_class17 = function () {
function Show(element, animator, domBoundary) {
_classCallCheck(this, Show);

Expand All @@ -1671,7 +1671,7 @@ var Show = exports.Show = (_dec21 = (0, _aureliaTemplating.customAttribute)('sho
};

return Show;
}()) || _class18) || _class18);
}()) || _class17) || _class17);

var RepeatStrategyLocator = exports.RepeatStrategyLocator = function () {
function RepeatStrategyLocator() {
Expand Down Expand Up @@ -1717,7 +1717,7 @@ var RepeatStrategyLocator = exports.RepeatStrategyLocator = function () {
return RepeatStrategyLocator;
}();

var Repeat = exports.Repeat = (_dec23 = (0, _aureliaTemplating.customAttribute)('repeat'), _dec24 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.BoundViewFactory, _aureliaTemplating.TargetInstruction, _aureliaTemplating.ViewSlot, _aureliaTemplating.ViewResources, _aureliaBinding.ObserverLocator, RepeatStrategyLocator), _dec23(_class19 = (0, _aureliaTemplating.templateController)(_class19 = _dec24(_class19 = (_class20 = function (_AbstractRepeater) {
var Repeat = exports.Repeat = (_dec23 = (0, _aureliaTemplating.customAttribute)('repeat'), _dec24 = (0, _aureliaDependencyInjection.inject)(_aureliaTemplating.BoundViewFactory, _aureliaTemplating.TargetInstruction, _aureliaTemplating.ViewSlot, _aureliaTemplating.ViewResources, _aureliaBinding.ObserverLocator, RepeatStrategyLocator), _dec23(_class18 = (0, _aureliaTemplating.templateController)(_class18 = _dec24(_class18 = (_class19 = function (_AbstractRepeater) {
_inherits(Repeat, _AbstractRepeater);

function Repeat(viewFactory, instruction, viewSlot, viewResources, observerLocator, strategyLocator) {
Expand Down Expand Up @@ -1939,16 +1939,16 @@ var Repeat = exports.Repeat = (_dec23 = (0, _aureliaTemplating.customAttribute)(
};

return Repeat;
}(AbstractRepeater), (_descriptor4 = _applyDecoratedDescriptor(_class20.prototype, 'items', [_aureliaTemplating.bindable], {
}(AbstractRepeater), (_descriptor4 = _applyDecoratedDescriptor(_class19.prototype, 'items', [_aureliaTemplating.bindable], {
enumerable: true,
initializer: null
}), _descriptor5 = _applyDecoratedDescriptor(_class20.prototype, 'local', [_aureliaTemplating.bindable], {
}), _descriptor5 = _applyDecoratedDescriptor(_class19.prototype, 'local', [_aureliaTemplating.bindable], {
enumerable: true,
initializer: null
}), _descriptor6 = _applyDecoratedDescriptor(_class20.prototype, 'key', [_aureliaTemplating.bindable], {
}), _descriptor6 = _applyDecoratedDescriptor(_class19.prototype, 'key', [_aureliaTemplating.bindable], {
enumerable: true,
initializer: null
}), _descriptor7 = _applyDecoratedDescriptor(_class20.prototype, 'value', [_aureliaTemplating.bindable], {
}), _descriptor7 = _applyDecoratedDescriptor(_class19.prototype, 'value', [_aureliaTemplating.bindable], {
enumerable: true,
initializer: null
})), _class20)) || _class19) || _class19) || _class19);
})), _class19)) || _class18) || _class18) || _class18);
5 changes: 5 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<a name="1.2.0"></a>
# [1.2.0](https://github.com/aurelia/templating-resources/compare/1.1.1...v1.2.0) (2016-12-10)



<a name="1.1.1"></a>
## [1.1.1](https://github.com/aurelia/templating-resources/compare/1.1.0...v1.1.1) (2016-10-06)

Expand Down
2 changes: 1 addition & 1 deletion doc/api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-templating-resources",
"version": "1.1.1",
"version": "1.2.0",
"description": "A standard set of behaviors, converters and other resources for use with the Aurelia templating library.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 149508e

Please sign in to comment.