replacing old .each mootools' method by _.each

This commit is contained in:
Ezequiel Bergamaschi
2014-03-17 00:36:29 -03:00
parent 2f29dfe203
commit e9f4b0c7d8
26 changed files with 63 additions and 62 deletions

View File

@@ -26,7 +26,7 @@ mindplot.util.FadeEffect = new Class({
this.addEvent('complete', function() {
this._element.each(function(elem) {
_.each(this._element, function(elem) {
if(elem){
elem.setVisibility(isVisible);
}
@@ -40,7 +40,7 @@ mindplot.util.FadeEffect = new Class({
},
set: function(now) {
this._element.each(function(elem) {
_.each(this._element, function(elem) {
if(elem){
elem.setOpacity(now);
}