Function.instantiate 1.0

Function.instantiate allows you to pass dynamically created arguments list to the new operator.



Details

Author
Arieh Glazer
Current version
1.0
GitHub
arieh/Function.instantiate
Downloads
1221
Category
Utilities
Tags
Report
GitHub Issues

Releases


Dependencies

  • _self_/_current_: core/1.3: [Class,Class.Extras]

How to use

You can use the method in 2 ways:

var fx = Function.instantiate(Fx.Morph,[$('el')]);

var fx = Fx.Morph.instantiate([$('el')]);

Discuss

A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.

Found a bug in this plugin? Please report it this repository's Github Issues.

blog comments powered by Disqus