Skip to content

Conflict with Prototype.js #224

@rainbow99984

Description

@rainbow99984

I'm trying to use this with app which use prototype.js and get following error:

TypeError: (intermediate value).observesBefore is not a function
    ...is.notifyPropertyChange("cellContent")},contentPathWillChange:function(){var a;r...
    ember-table.min.js (line 6, col 20708)

Error: <(subclass of Ember.View):ember326> Handlebars error: Could not find property 'table-component' on object <App.IndexController:ember337>.
..es,this.mixins=[e]):this.mixins||(this.mixins=[]);var r,n=arguments.length,i=thi...

I've used :
 window.ENV = {};
     ENV.EXTEND_PROTOTYPES = false;
     ENV.LOG_VERSION= false;

as suggested in Ember.js as suggestion for conflict. If I remove the ember-table Ember.js works fine.
to make it appear just use prototype.js in app page.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions