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

Already on GitHub? Sign in to your account

debug-mode warnings on common typos (e.g. 'insertNewLine' i/o 'insertNewline') #663

maerten opened this Issue Apr 8, 2012 · 1 comment


None yet
2 participants

maerten commented Apr 8, 2012

Just starting Ember.js (coming from backbone.js), I just had the first (silently failing!) bug while following example Todos app

It might be useful to have something like this:
(pardon my coffeescript)

Todos.createTodoView = Ember.TextField.extend
  insertNewLine: ->
    value = @get('value')

automatically generate a warning like:

possible typo "insertNewLine" (did you mean "insertNewline"?)

Back to learning about Ember.js... In a few months I'll submit a pull request for this :)


wagenet commented Jul 13, 2012

Closing in favor of a PR.

@wagenet wagenet closed this Jul 13, 2012

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