Update to Ember 1.9.0.

No Issue
- Ember@1.9.0
- Handlebars@2.0.0
- grunt-ember-templates@0.5.0-alpha
This commit is contained in:
Jason Williams 2014-12-10 05:48:43 +00:00
parent 5d67f4a7b1
commit 56e4798dcf
4 changed files with 11 additions and 4 deletions

View File

@ -4,13 +4,13 @@
"codemirror": "4.0.1",
"Countable": "2.0.2",
"device": "git://github.com/matthewhudson/device.js#5347a275b66020a0d4dfe9aad81a488f8cce448d",
"ember": "1.8.1",
"ember": "1.9.0",
"ember-data": "1.0.0-beta.11",
"ember-load-initializers": "git://github.com/stefanpenner/ember-load-initializers.git#0.0.1",
"ember-resolver": "git://github.com/stefanpenner/ember-jj-abrams-resolver.git#181251821cf513bb58d3e192faa13245a816f75e",
"ember-simple-auth": "0.7.2",
"fastclick": "1.0.0",
"handlebars": "1.3.0",
"handlebars": "2.0.0",
"ic-ajax": "1.0.1",
"jquery": "1.11.0",
"jquery-file-upload": "9.5.6",

View File

@ -9,7 +9,10 @@ var SigninController = Ember.Controller.extend(SimpleAuth.AuthenticationControll
authenticate: function () {
var data = this.getProperties('identification', 'password');
return this._super(data);
this._super(data).catch(function () {
// If simple-auth's authenticate rejects we need to catch it
// to avoid an unhandled rejection exception.
});
},
validateAndAuthenticate: function () {

View File

@ -285,6 +285,10 @@ CasperTest.begin('Tag editor', 7, function suite(test) {
test.assertExists('#entry-tags', 'should have tag label area');
test.assertExists('#entry-tags .tag-label', 'should have tag label icon');
test.assertExists('#entry-tags input.tag-input', 'should have tag input area');
});
casper.thenClick('#entry-tags input.tag-input');
casper.then(function () {
casper.sendKeys('#entry-tags input.tag-input', tagName);
casper.sendKeys('#entry-tags input.tag-input', casper.page.event.key.Enter);
});

View File

@ -83,7 +83,7 @@
"grunt-contrib-uglify": "~0.6.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-docker": "~0.0.8",
"grunt-ember-templates": "~0.4.23",
"grunt-ember-templates": "~0.5.0-alpha",
"grunt-es6-module-transpiler": "~0.6.0",
"grunt-express-server": "~0.4.19",
"grunt-jscs": "~0.8.1",