Skip to content

Conversation

@Florian-R
Copy link

I'd really like to see chaplinjsgh-780 merged, so i tried to fix the failling tests.

I had to update grunt-mocha due to some inability to install PhantomJS.

I'm not completly happy with this PR, i'll comment in the code.

Also, i didn't try to see if tests are OK without deps, i'd prefer adress eventuals comments before going on with this

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure DOM manipulation belongs to Chaplin

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. But maybe we could use something like https://github.com/akre54/Backbone.NativeView/blob/0.3.2/backbone.nativeview.js#L34-L48 that has older browser support and eagerly finds the selector... if we really need it

@Florian-R
Copy link
Author

All done. I've also changed the call to $ by Backbone.$ in toggleElement for the sake of consistency.

@akre54
Copy link
Owner

akre54 commented Jan 9, 2015

Awesome. Thanks.

akre54 added a commit that referenced this pull request Jan 9, 2015
@akre54 akre54 merged commit cf2ab90 into akre54:bb-view-hooks Jan 9, 2015
@Florian-R
Copy link
Author

Meh. I see Travis still fail in the original PR. I must have fucked up something with Grunt when i've rerunned the tests. Won't have time to work on this before Monday, but i'll sent another PR ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants