|
@@ -35,7 +35,7 @@ define([
|
|
|
|
|
|
var args = Array.prototype.slice.call(arguments, 1);
|
|
var args = Array.prototype.slice.call(arguments, 1);
|
|
|
|
|
|
- var ret = instance[options](args);
|
|
|
|
|
|
+ var ret = instance[options].apply(instance, args);
|
|
|
|
|
|
// Check if we should be returning `this`
|
|
// Check if we should be returning `this`
|
|
if ($.inArray(options, thisMethods) > -1) {
|
|
if ($.inArray(options, thisMethods) > -1) {
|