1

I'm updating from a prerelease to Ember js 1.0.0. I'm currently getting the title error for

Ember.State.reopen( {

    active: false,

    enter: function() {

        this.set('active', true);
    },

    exit: function() {

        this.set('active', false);
    }
});

What causes this error and how do I fix it?


Rails - date input format?

Is there a way in rails to override default date input in form? In html form I get date input as drop down menu. The thing is for year it only shows year from 2008 to 2018. How can I make it let me enter any year I want, but keep month and day as dropbox? I tried in html form use type="date", but nothing changes.

What is the best way to modify date input format in rails (and html/javascript if it needs to be changed there too)?

4

1 に答える 1

2

このプルリクエスト以降、Ember states は削除されました

ember-states github リポジトリで見つけることができます

于 2013-10-22T15:38:18.950 に答える