21 May 2012

The Tech Reflector

 
Star Following

  Source Favicon
By ibolmo of MooTools 11 months ago.
Email

…lookup, it can also do a match so a ‘protected' Class Mutator can be defined so a Class method can be defined as 'protected foo': function(){ so that the method cannot be run outside of the class. Have a look at the source .

Model Change Events

Someone had asked to support events for when properties change in the form of change:foo . It's doubtful we'll have this, but developer, verylastminute, has already worked on something that might serve …

mootools.net Read
  Source Favicon
Email

…implementation able to behave the same in all browsers became easy, and this is why I have introduced a new Class definition , the VBClass

What The Hell Is VBClass VBClass is a global function able to create global factories , and these are the rules for a VBClass definition object :

the definition of a VBClass IS static , which means once we have defined the structure of our instances, we cannot add, delete, or change arbitrary the number of properties

since VBScript…

webreflection.blogspot.com Read
  Source Favicon
By Arian of MooTools 1 year ago.
Email

One of the most useful and common part of MooTools is its Events Type. There are two Event usages: Element and Class. Element.Events is probably the most known because that's probably one of the first things you've used when you started using MooTools. Furthermore, MooTools More 1.3 Events.Pseudos has been introduced to give even more power and control over Events and with Event Delegation can give your page a massive performance boost. This blog post will give you a deeper insight into all components.

mootools.net Read
  Source Favicon
Email

…global execScript method, it is possible to create a VBScript Class that via factory pattern assigns a private JS object into VBScript instance, passing through a runtime create JavaScript function that will act as a factory to return the private scope object passed to create the relationship ...

IE Getters and Setters I had the same expression when I have read something like this , but I have been too lazy to even think about a better solution. …

webreflection.blogspot.com Read
  Source Favicon
By Arian of MooTools over 1 year ago.
Email

…name, to get custom events. This doesn't only work for Element events, but for the Class event system, the Events mixin, as well. Currently we've implemented the pseudo events :once for both Events as Element.Event and :keys and :relay for Element.Event.

Locale, localizzazione, Lokalisierung, localización, локализация

For 1.3 we've rewritten MooTools.lang to Locale . It's now more powerful and has a much better API. A big thanks …

mootools.net Read