path is the only object that inherits from Object but does not call super. it should also call super for consistancey and to allow overriding of the object initialize prototype (#4005)

This commit is contained in:
Stefan Hayden 2017-06-14 12:31:42 -04:00 committed by Andrea Bogazzi
parent 5773b5495a
commit a1ccf7155b

View file

@ -79,10 +79,7 @@
*/
initialize: function(path, options) {
options = options || { };
if (options) {
this.setOptions(options);
}
this.callSuper('initialize', options);
if (!path) {
path = [];