This file contains hidden or 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
/* | |
Script: Accessors.js | |
An accessors mixin for getters and setters. | |
License & Copyright: | |
Copyright 2009, Mark Obcena <keetology.com> | |
MIT-Style License | |
*/ | |
var Accessors = new Class({ |
This file contains hidden or 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
/* | |
Script: Class.AfterImplement.js | |
Adds an afterImplement feature to Class: a function | |
fired after every implemented item. | |
License & Copyright: | |
Copyright 2009, Mark Obcena <keetology.com> | |
MIT-Style License | |
*/ |
This file contains hidden or 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
function Collection(list, build){ | |
this.list = $splat(list || []); | |
this.length = this.list.length; | |
this.build = build || true; | |
if (this.build) this.rebuild(); | |
} | |
new Native({name: 'Collection', initialize: Collection, generics: false}); | |
(function() { |
This file contains hidden or 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
/* | |
Script: Array.Reduce.js | |
MooTools implementation for Array.reduce() and Array.reduceRight() | |
Acknowledgement: | |
- Implementation code ported and reworked from Mozilla's Array.reduce() and Array.reduceRight() algorithms. | |
cf: https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduce, | |
https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/Array/reduceRight | |
*/ |
NewerOlder