Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- uses overloadSetter to simplify the script while providing the same…
… API. - for use on the server, Element module is now optional
- Loading branch information
1 parent
a191a3d
commit 94d54fd
Showing
5 changed files
with
63 additions
and
50 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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,27 @@ | |||
/* | |||
--- | |||
name: Element.Channels | |||
description: Mediate Element events. An expanded pattern for pub/sub. | |||
license: MIT-style license. | |||
copyright: Copyright (c) 2010 [Ryan Florence](http://ryanflorence.com/). | |||
authors: Ryan Florence | |||
requires: | |||
- /Channels | |||
- Core/Element.Event | |||
provides: [Element.Channels] | |||
... | |||
*/ | |||
|
|||
[Window, Document, Element].each(function(item){ | |||
Channels.installTo(item); | |||
}); | |||
|
|||
|
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