-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a9caa1
commit ed58f68
Showing
17 changed files
with
185 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
define(['exports', 'aurelia-binding'], function (exports, _aureliaBinding) { | ||
'use strict'; | ||
|
||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.AttrBindingBehavior = undefined; | ||
|
||
|
||
|
||
var AttrBindingBehavior = exports.AttrBindingBehavior = function () { | ||
function AttrBindingBehavior() { | ||
|
||
} | ||
|
||
AttrBindingBehavior.prototype.bind = function bind(binding, source) { | ||
binding.targetObserver = new _aureliaBinding.DataAttributeObserver(binding.target, binding.targetProperty); | ||
}; | ||
|
||
AttrBindingBehavior.prototype.unbind = function unbind(binding, source) {}; | ||
|
||
return AttrBindingBehavior; | ||
}(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
'use strict'; | ||
|
||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.AttrBindingBehavior = undefined; | ||
|
||
var _aureliaBinding = require('aurelia-binding'); | ||
|
||
|
||
|
||
var AttrBindingBehavior = exports.AttrBindingBehavior = function () { | ||
function AttrBindingBehavior() { | ||
|
||
} | ||
|
||
AttrBindingBehavior.prototype.bind = function bind(binding, source) { | ||
binding.targetObserver = new _aureliaBinding.DataAttributeObserver(binding.target, binding.targetProperty); | ||
}; | ||
|
||
AttrBindingBehavior.prototype.unbind = function unbind(binding, source) {}; | ||
|
||
return AttrBindingBehavior; | ||
}(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { DataAttributeObserver } from 'aurelia-binding'; | ||
|
||
export let AttrBindingBehavior = class AttrBindingBehavior { | ||
bind(binding, source) { | ||
binding.targetObserver = new DataAttributeObserver(binding.target, binding.targetProperty); | ||
} | ||
|
||
unbind(binding, source) {} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
|
||
import { DataAttributeObserver } from 'aurelia-binding'; | ||
|
||
export var AttrBindingBehavior = function () { | ||
function AttrBindingBehavior() { | ||
|
||
} | ||
|
||
AttrBindingBehavior.prototype.bind = function bind(binding, source) { | ||
binding.targetObserver = new DataAttributeObserver(binding.target, binding.targetProperty); | ||
}; | ||
|
||
AttrBindingBehavior.prototype.unbind = function unbind(binding, source) {}; | ||
|
||
return AttrBindingBehavior; | ||
}(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
'use strict'; | ||
|
||
System.register(['aurelia-binding'], function (_export, _context) { | ||
"use strict"; | ||
|
||
var DataAttributeObserver, AttrBindingBehavior; | ||
|
||
|
||
|
||
return { | ||
setters: [function (_aureliaBinding) { | ||
DataAttributeObserver = _aureliaBinding.DataAttributeObserver; | ||
}], | ||
execute: function () { | ||
_export('AttrBindingBehavior', AttrBindingBehavior = function () { | ||
function AttrBindingBehavior() { | ||
|
||
} | ||
|
||
AttrBindingBehavior.prototype.bind = function bind(binding, source) { | ||
binding.targetObserver = new DataAttributeObserver(binding.target, binding.targetProperty); | ||
}; | ||
|
||
AttrBindingBehavior.prototype.unbind = function unbind(binding, source) {}; | ||
|
||
return AttrBindingBehavior; | ||
}()); | ||
|
||
_export('AttrBindingBehavior', AttrBindingBehavior); | ||
} | ||
}; | ||
}); |
Oops, something went wrong.