From 2dbeec0128e3e3f32e7a0a20528172e5d58d6773 Mon Sep 17 00:00:00 2001 From: Salvatore Iovene Date: Tue, 5 Feb 2013 14:56:35 +0200 Subject: [PATCH] (hoofbeats) Removes 'use strict' from the Ember app. --- examples/hoofbeats/javascripts/app/controllers/applicationController.js | 2 -- examples/hoofbeats/javascripts/app/controllers/artistsController.js | 2 -- examples/hoofbeats/javascripts/app/models/artistModel.js | 2 -- examples/hoofbeats/javascripts/app/router.js | 2 -- examples/hoofbeats/javascripts/app/views/artistsView.js | 2 -- 5 files changed, 10 deletions(-) diff --git a/examples/hoofbeats/javascripts/app/controllers/applicationController.js b/examples/hoofbeats/javascripts/app/controllers/applicationController.js index 634cbc2..75bb4ca 100644 --- a/examples/hoofbeats/javascripts/app/controllers/applicationController.js +++ b/examples/hoofbeats/javascripts/app/controllers/applicationController.js @@ -1,6 +1,4 @@ (function(app, Ember) { - 'use strict'; - var ApplicationController = Ember.Controller.extend({}); app.ApplicationController = ApplicationController; diff --git a/examples/hoofbeats/javascripts/app/controllers/artistsController.js b/examples/hoofbeats/javascripts/app/controllers/artistsController.js index 2a6c008..cf7e6ac 100644 --- a/examples/hoofbeats/javascripts/app/controllers/artistsController.js +++ b/examples/hoofbeats/javascripts/app/controllers/artistsController.js @@ -1,6 +1,4 @@ (function(app, Ember, _) { - 'use strict'; - var ArtistsController = Ember.ArrayController.extend({ content: [], }); diff --git a/examples/hoofbeats/javascripts/app/models/artistModel.js b/examples/hoofbeats/javascripts/app/models/artistModel.js index 9c4a60d..a15f5e9 100644 --- a/examples/hoofbeats/javascripts/app/models/artistModel.js +++ b/examples/hoofbeats/javascripts/app/models/artistModel.js @@ -1,6 +1,4 @@ (function(app, Ember) { - 'use strict'; - var Artist = Ember.Object.extend({ id: null, firstName: null, diff --git a/examples/hoofbeats/javascripts/app/router.js b/examples/hoofbeats/javascripts/app/router.js index 09525b3..67d9e3b 100644 --- a/examples/hoofbeats/javascripts/app/router.js +++ b/examples/hoofbeats/javascripts/app/router.js @@ -1,7 +1,5 @@ /* vi: set et sw=4 ts=4 si: */ (function(app, Ember) { - 'use strict'; - var Router = Ember.Router.extend({ location: 'none', diff --git a/examples/hoofbeats/javascripts/app/views/artistsView.js b/examples/hoofbeats/javascripts/app/views/artistsView.js index 5b857c7..83c2863 100644 --- a/examples/hoofbeats/javascripts/app/views/artistsView.js +++ b/examples/hoofbeats/javascripts/app/views/artistsView.js @@ -1,7 +1,5 @@ /* vi: set et sw=4 ts=4 si: */ (function(app, Ember) { - 'use strict'; - var ArtistsView = Ember.View.extend({ templateName: 'artists', tagName: 'ul', -- 2.7.4