Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make json-editor compatible for strict mode #605

Merged
merged 2 commits into from
Jul 4, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dist/jsoneditor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

98 changes: 49 additions & 49 deletions dist/jsoneditor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/jsoneditor.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/class.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var Class;
Class = function(){};

// Create a new Class that inherits from this class
Class.extend = function(prop) {
Class.extend = function extend(prop) {
var _super = this.prototype;

// Instantiate a base class (but only create the instance,
Expand Down Expand Up @@ -59,7 +59,7 @@ var Class;
Class.prototype.constructor = Class;

// And make this class extendable
Class.extend = arguments.callee;
Class.extend = extend;

return Class;
};
Expand Down