Browse Source

Remove $.proxy from shape

pull/1615/head
jlukic 9 years ago
parent
commit
7ba4d5fb9b
1 changed files with 2 additions and 2 deletions
  1. 4
      src/definitions/modules/shape.js

4
src/definitions/modules/shape.js

@ -115,7 +115,7 @@ $.fn.shape = function(parameters) {
module.reset();
module.set.active();
};
$.proxy(settings.beforeChange, $nextSide[0])();
settings.beforeChange.call($nextSide.get());
if(module.get.transitionEvent()) {
module.verbose('Starting CSS animation');
$module
@ -260,7 +260,7 @@ $.fn.shape = function(parameters) {
$nextSide
.addClass(className.active)
;
$.proxy(settings.onChange, $nextSide[0])();
settings.onChange.call($nextSide.get());
module.set.defaultSide();
}
},

Loading…
Cancel
Save