diff --git a/yesod/hsfiles/mongo.hsfiles b/yesod/hsfiles/mongo.hsfiles index 7a3e1884..2eaa6ca6 100644 --- a/yesod/hsfiles/mongo.hsfiles +++ b/yesod/hsfiles/mongo.hsfiles @@ -284,6 +284,7 @@ import Model as Import import Settings as Import import Settings.Development as Import import Settings.StaticFiles as Import +import Data.Aeson as Import (toJSON) #if __GLASGOW_HASKELL__ >= 704 import Data.Monoid as Import @@ -360,8 +361,8 @@ library build-depends: base >= 4 && < 5 -- , yesod-platform >= 1.1 && < 1.2 - , yesod >= 1.1 && < 1.2 - , yesod-core >= 1.1.2 && < 1.2 + , yesod >= 1.1.4 && < 1.2 + , yesod-core >= 1.1.5 && < 1.2 , yesod-auth >= 1.1 && < 1.2 , yesod-static >= 1.1 && < 1.2 , yesod-default >= 1.1 && < 1.2 @@ -374,7 +375,7 @@ library , template-haskell , hamlet >= 1.1 && < 1.2 , shakespeare-css >= 1.0 && < 1.1 - , shakespeare-js >= 1.0 && < 1.1 + , shakespeare-js >= 1.0.2 && < 1.2 , shakespeare-text >= 1.0 && < 1.1 , hjsmin >= 0.1 && < 0.2 , monad-control >= 0.3 && < 0.4 @@ -384,6 +385,7 @@ library , directory >= 1.1 && < 1.3 , warp >= 1.3 && < 1.4 , data-default + , aeson executable PROJECTNAME if flag(library-only) @@ -4830,7 +4832,7 @@ $maybe msg <- mmsg You can run your tests by doing:
yesod test
{-# START_FILE templates/homepage.julius #-} -document.getElementById("#{aDomId}").innerHTML = "This text was added by the Javascript part of the homepage widget."; +document.getElementById(#{toJSON aDomId}).innerHTML = "This text was added by the Javascript part of the homepage widget."; {-# START_FILE templates/homepage.lucius #-} h1 { diff --git a/yesod/hsfiles/mysql.hsfiles b/yesod/hsfiles/mysql.hsfiles index 572fe644..be534121 100644 --- a/yesod/hsfiles/mysql.hsfiles +++ b/yesod/hsfiles/mysql.hsfiles @@ -286,6 +286,7 @@ import Model as Import import Settings as Import import Settings.Development as Import import Settings.StaticFiles as Import +import Data.Aeson as Import (toJSON) #if __GLASGOW_HASKELL__ >= 704 import Data.Monoid as Import @@ -361,8 +362,8 @@ library build-depends: base >= 4 && < 5 -- , yesod-platform >= 1.1 && < 1.2 - , yesod >= 1.1 && < 1.2 - , yesod-core >= 1.1.2 && < 1.2 + , yesod >= 1.1.4 && < 1.2 + , yesod-core >= 1.1.5 && < 1.2 , yesod-auth >= 1.1 && < 1.2 , yesod-static >= 1.1 && < 1.2 , yesod-default >= 1.1 && < 1.2 @@ -375,7 +376,7 @@ library , template-haskell , hamlet >= 1.1 && < 1.2 , shakespeare-css >= 1.0 && < 1.1 - , shakespeare-js >= 1.0 && < 1.1 + , shakespeare-js >= 1.0.2 && < 1.2 , shakespeare-text >= 1.0 && < 1.1 , hjsmin >= 0.1 && < 0.2 , monad-control >= 0.3 && < 0.4 @@ -385,6 +386,7 @@ library , directory >= 1.1 && < 1.3 , warp >= 1.3 && < 1.4 , data-default + , aeson executable PROJECTNAME if flag(library-only) @@ -4857,7 +4859,7 @@ $maybe msg <- mmsg You can run your tests by doing:
yesod test
{-# START_FILE templates/homepage.julius #-} -document.getElementById("#{aDomId}").innerHTML = "This text was added by the Javascript part of the homepage widget."; +document.getElementById(#{toJSON aDomId}).innerHTML = "This text was added by the Javascript part of the homepage widget."; {-# START_FILE templates/homepage.lucius #-} h1 { diff --git a/yesod/hsfiles/postgres.hsfiles b/yesod/hsfiles/postgres.hsfiles index 9c639bc7..2b177cca 100644 --- a/yesod/hsfiles/postgres.hsfiles +++ b/yesod/hsfiles/postgres.hsfiles @@ -286,6 +286,7 @@ import Model as Import import Settings as Import import Settings.Development as Import import Settings.StaticFiles as Import +import Data.Aeson as Import (toJSON) #if __GLASGOW_HASKELL__ >= 704 import Data.Monoid as Import @@ -361,8 +362,8 @@ library build-depends: base >= 4 && < 5 -- , yesod-platform >= 1.1 && < 1.2 - , yesod >= 1.1 && < 1.2 - , yesod-core >= 1.1.2 && < 1.2 + , yesod >= 1.1.4 && < 1.2 + , yesod-core >= 1.1.5 && < 1.2 , yesod-auth >= 1.1 && < 1.2 , yesod-static >= 1.1 && < 1.2 , yesod-default >= 1.1 && < 1.2 @@ -375,7 +376,7 @@ library , template-haskell , hamlet >= 1.1 && < 1.2 , shakespeare-css >= 1.0 && < 1.1 - , shakespeare-js >= 1.0 && < 1.1 + , shakespeare-js >= 1.0.2 && < 1.2 , shakespeare-text >= 1.0 && < 1.1 , hjsmin >= 0.1 && < 0.2 , monad-control >= 0.3 && < 0.4 @@ -385,6 +386,7 @@ library , directory >= 1.1 && < 1.3 , warp >= 1.3 && < 1.4 , data-default + , aeson executable PROJECTNAME if flag(library-only) @@ -4831,7 +4833,7 @@ $maybe msg <- mmsg You can run your tests by doing:
yesod test
{-# START_FILE templates/homepage.julius #-} -document.getElementById("#{aDomId}").innerHTML = "This text was added by the Javascript part of the homepage widget."; +document.getElementById(#{toJSON aDomId}).innerHTML = "This text was added by the Javascript part of the homepage widget."; {-# START_FILE templates/homepage.lucius #-} h1 { diff --git a/yesod/hsfiles/simple.hsfiles b/yesod/hsfiles/simple.hsfiles index d5173a62..bc87329e 100644 --- a/yesod/hsfiles/simple.hsfiles +++ b/yesod/hsfiles/simple.hsfiles @@ -235,6 +235,7 @@ import Foundation as Import import Settings as Import import Settings.Development as Import import Settings.StaticFiles as Import +import Data.Aeson as Import (toJSON) #if __GLASGOW_HASKELL__ >= 704 import Data.Monoid as Import @@ -293,8 +294,8 @@ library build-depends: base >= 4 && < 5 -- , yesod-platform >= 1.1 && < 1.2 - , yesod >= 1.1 && < 1.2 - , yesod-core >= 1.1.2 && < 1.2 + , yesod >= 1.1.4 && < 1.2 + , yesod-core >= 1.1.5 && < 1.2 , yesod-static >= 1.1 && < 1.2 , yesod-default >= 1.1 && < 1.2 , yesod-form >= 1.1 && < 1.3 @@ -304,7 +305,7 @@ library , template-haskell , hamlet >= 1.1 && < 1.2 , shakespeare-css >= 1.0 && < 1.1 - , shakespeare-js >= 1.0 && < 1.1 + , shakespeare-js >= 1.0.2 && < 1.2 , shakespeare-text >= 1.0 && < 1.1 , hjsmin >= 0.1 && < 0.2 , monad-control >= 0.3 && < 0.4 @@ -314,6 +315,7 @@ library , directory >= 1.1 && < 1.3 , warp >= 1.3 && < 1.4 , data-default + , aeson executable PROJECTNAME if flag(library-only) @@ -4714,7 +4716,7 @@ $maybe msg <- mmsg You can run your tests by doing:
yesod test
{-# START_FILE templates/homepage.julius #-} -document.getElementById("#{aDomId}").innerHTML = "This text was added by the Javascript part of the homepage widget."; +document.getElementById(#{toJSON aDomId}).innerHTML = "This text was added by the Javascript part of the homepage widget."; {-# START_FILE templates/homepage.lucius #-} h1 { diff --git a/yesod/hsfiles/sqlite.hsfiles b/yesod/hsfiles/sqlite.hsfiles index 1624a4f3..329fbe33 100644 --- a/yesod/hsfiles/sqlite.hsfiles +++ b/yesod/hsfiles/sqlite.hsfiles @@ -286,6 +286,7 @@ import Model as Import import Settings as Import import Settings.Development as Import import Settings.StaticFiles as Import +import Data.Aeson as Import (toJSON) #if __GLASGOW_HASKELL__ >= 704 import Data.Monoid as Import @@ -361,8 +362,8 @@ library build-depends: base >= 4 && < 5 -- , yesod-platform >= 1.1 && < 1.2 - , yesod >= 1.1 && < 1.2 - , yesod-core >= 1.1.2 && < 1.2 + , yesod >= 1.1.4 && < 1.2 + , yesod-core >= 1.1.5 && < 1.2 , yesod-auth >= 1.1 && < 1.2 , yesod-static >= 1.1 && < 1.2 , yesod-default >= 1.1 && < 1.2 @@ -375,7 +376,7 @@ library , template-haskell , hamlet >= 1.1 && < 1.2 , shakespeare-css >= 1.0 && < 1.1 - , shakespeare-js >= 1.0 && < 1.1 + , shakespeare-js >= 1.0.2 && < 1.2 , shakespeare-text >= 1.0 && < 1.1 , hjsmin >= 0.1 && < 0.2 , monad-control >= 0.3 && < 0.4 @@ -385,6 +386,7 @@ library , directory >= 1.1 && < 1.3 , warp >= 1.3 && < 1.4 , data-default + , aeson executable PROJECTNAME if flag(library-only) @@ -4827,7 +4829,7 @@ $maybe msg <- mmsg You can run your tests by doing:
yesod test
{-# START_FILE templates/homepage.julius #-} -document.getElementById("#{aDomId}").innerHTML = "This text was added by the Javascript part of the homepage widget."; +document.getElementById(#{toJSON aDomId}).innerHTML = "This text was added by the Javascript part of the homepage widget."; {-# START_FILE templates/homepage.lucius #-} h1 {