aurelia-async-binding-function
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -7,3 +7,3 @@ define(["require", "exports"], function (require, exports) { | ||
if (typeof viewResources.registerBindingFunction === 'function') { | ||
viewResources.registerBindingFunction('async', bindingFunctionInstance); | ||
viewResources.registerBindingFunction('@async', bindingFunctionInstance); | ||
} | ||
@@ -36,2 +36,2 @@ else { | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiL3NvdXJjZS8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0lBR0EsbUJBQTBCLGVBQXVDO1FBQy9ELElBQU0sYUFBYSxHQUFHLGVBQWUsQ0FBQyxPQUFPLENBQUMsU0FBUyxDQUFBO1FBQ3ZELElBQU0sdUJBQXVCLEdBQUcsZUFBZSxDQUFDLFNBQVMsQ0FBQyxHQUFHLENBQUMsb0JBQW9CLENBQUMsQ0FBQTtRQUNuRixFQUFFLENBQUMsQ0FBQyxPQUFPLGFBQWEsQ0FBQyx1QkFBdUIsS0FBSyxVQUFVLENBQUMsQ0FBQyxDQUFDO1lBQ2hFLGFBQWEsQ0FBQyx1QkFBdUIsQ0FBQyxPQUFPLEVBQUUsdUJBQXVCLENBQUMsQ0FBQTtRQUN6RSxDQUFDO1FBQUMsSUFBSSxDQUFDLENBQUM7WUFDTixNQUFNLElBQUksS0FBSyxDQUFDLDhGQUE4RixDQUFDLENBQUE7UUFDakgsQ0FBQztJQUNILENBQUM7SUFSZSxpQkFBUyxZQVF4QixDQUFBO0lBRUQ7UUFBQTtRQWlCQSxDQUFDO1FBaEJDLHNDQUFPLEdBQVAsVUFBUSxTQUFvQixFQUFFLE9BQWdCLEVBQUUsS0FBWTtZQUMxRCxJQUFNLE9BQU8sR0FBRyxTQUFTLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxD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FBQztRQUVELHVDQUFRLEdBQVIsVUFBUyxTQUFvQixFQUFFLEtBQVksRUFBRSxlQUFlLEVBQUUsWUFBcUI7WUFDakYsSUFBTSxPQUFPLEdBQUcsU0FBUyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQyxRQUFRLENBQUMsS0FBSyxFQUFFLGVBQWUsRUFBRSxJQUFJLENBQXVDLENBQUE7WUFDOUcsTUFBTSxDQUFDLE9BQU8sR0FBRyxPQUFPLENBQUMsYUFBYSxHQUFHLFNBQVMsQ0FBQTtRQUNwRCxDQUFDO1FBQ0gsMkJBQUM7SUFBRCxDQUFDLEFBakJELElBaUJDO0lBakJZLDRCQUFvQix1QkFpQmhDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6W119 |
{ | ||
"name": "aurelia-async-binding-function", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "An Aurelia plugin that makes it possible create BindingFunctions.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -34,3 +34,3 @@ # aurelia-async-binding-function | ||
<h1> | ||
${async(myPromise)} | ||
${ @async(myPromise) } | ||
</h1> | ||
@@ -37,0 +37,0 @@ ``` |
@@ -8,3 +8,3 @@ import {BindingFunction} from 'aurelia-binding-functions' | ||
if (typeof viewResources.registerBindingFunction === 'function') { | ||
viewResources.registerBindingFunction('async', bindingFunctionInstance) | ||
viewResources.registerBindingFunction('@async', bindingFunctionInstance) | ||
} else { | ||
@@ -11,0 +11,0 @@ throw new Error('You need to load the aurelia-binding-functions plugin before aurelia-async-binding-function.') |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17611