Skip to content

Commit

Permalink
change to due to is forbids in strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
yihou committed Feb 26, 2017
1 parent f94da79 commit 2dd036d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@
if ($.isFunction(data)) {
throwError('Unexpect parameter of the "done" Function.');
}
args.callee.call(self, data, callback);
$.fn[pluginName].call(self, data, callback);
});
} else if (typeof dataSource === 'string') {
if (/^https?|file:/.test(dataSource)) {
Expand Down Expand Up @@ -821,7 +821,7 @@
}

// Attributes
var attributes = $.extend({}, arguments.callee.defaults, options);
var attributes = $.extend({}, $.fn[pluginName].defaults, options);

// Check parameters
parameterChecker(attributes);
Expand Down
Loading

0 comments on commit 2dd036d

Please sign in to comment.