Commit dc76d71c by David Baumgold

4-space indents for coffeescript

parent fcf4cdc7
...@@ -6,8 +6,8 @@ describe "CMS.Views.Alert as base class", -> ...@@ -6,8 +6,8 @@ describe "CMS.Views.Alert as base class", ->
appendSetFixtures($("<script>", {id: "alert-tpl", type: "text/template"}).text(tpl)) appendSetFixtures($("<script>", {id: "alert-tpl", type: "text/template"}).text(tpl))
@model = new CMS.Models.ConfirmationMessage({ @model = new CMS.Models.ConfirmationMessage({
"title": "Portal" title: "Portal"
"message": "Welcome to the Aperture Science Computer-Aided Enrichment Center" message: "Welcome to the Aperture Science Computer-Aided Enrichment Center"
}) })
# it will be interesting to see when this.render is called, so lets spy on it # it will be interesting to see when this.render is called, so lets spy on it
spyOn(CMS.Views.Alert.prototype, 'render').andCallThrough() spyOn(CMS.Views.Alert.prototype, 'render').andCallThrough()
...@@ -42,8 +42,8 @@ describe "CMS.Views.Notification", -> ...@@ -42,8 +42,8 @@ describe "CMS.Views.Notification", ->
appendSetFixtures($("<script>", {id: "notification-tpl", type: "text/template"}).text(tpl)) appendSetFixtures($("<script>", {id: "notification-tpl", type: "text/template"}).text(tpl))
@model = new CMS.Models.ConfirmationMessage({ @model = new CMS.Models.ConfirmationMessage({
"title": "Portal" title: "Portal"
"message": "Welcome to the Aperture Science Computer-Aided Enrichment Center" message: "Welcome to the Aperture Science Computer-Aided Enrichment Center"
}) })
# for some reason, expect($("body")) blows up the test runner, so this test # for some reason, expect($("body")) blows up the test runner, so this test
...@@ -62,7 +62,7 @@ describe "CMS.Views.Alert click events", -> ...@@ -62,7 +62,7 @@ describe "CMS.Views.Alert click events", ->
beforeEach -> beforeEach ->
@model = new CMS.Models.WarningMessage( @model = new CMS.Models.WarningMessage(
title: "Unsaved", title: "Unsaved",
message: "Your content is currently unsaved.", message: "Your content is currently Unsaved.",
actions: actions:
primary: primary:
text: "Save", text: "Save",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment