Permalink
Browse files

Use coffeescript @ notation instead of this

  • Loading branch information...
Dominik Guzei
Dominik Guzei committed Jan 31, 2012
1 parent bd6571e commit df320dcb900c88c47df7233e3f12c8e8986b275c
@@ -16,4 +16,4 @@ App.states = {}
App.templates = {}
# export App to global namespace
-this.App = App
+@App = App
@@ -1,5 +1,5 @@
-App = this.App
+App = @App
App.controllers.statechartController = SC.Object.create(SC.StatechartDelegate, {
@@ -1,5 +1,5 @@
-App = this.App
+App = @App
App.mediators.authenticationMediator = SC.Object.create {
@@ -5,7 +5,7 @@
#= require app/states/BrowsingState
#= require app/states/AuthenticationState
-App = this.App
+App = @App
App.statechart = SC.Statechart.create {
@@ -1,7 +1,7 @@
#= require app/mediators/authenticationMediator
-App = this.App
+App = @App
App.states.AuthenticationState = SC.State.extend {
@@ -1,6 +1,6 @@
#= require app/mediators/authenticationMediator
-App = this.App
+App = @App
App.states.BrowsingState = SC.State.extend {

0 comments on commit df320dc

Please sign in to comment.