Scaffold update
This commit is contained in:
parent
7cc69c10d1
commit
b7aa72e104
@ -284,6 +284,7 @@ import Model as Import
|
|||||||
import Settings as Import
|
import Settings as Import
|
||||||
import Settings.Development as Import
|
import Settings.Development as Import
|
||||||
import Settings.StaticFiles as Import
|
import Settings.StaticFiles as Import
|
||||||
|
import Data.Aeson as Import (toJSON)
|
||||||
|
|
||||||
#if __GLASGOW_HASKELL__ >= 704
|
#if __GLASGOW_HASKELL__ >= 704
|
||||||
import Data.Monoid as Import
|
import Data.Monoid as Import
|
||||||
@ -360,8 +361,8 @@ library
|
|||||||
|
|
||||||
build-depends: base >= 4 && < 5
|
build-depends: base >= 4 && < 5
|
||||||
-- , yesod-platform >= 1.1 && < 1.2
|
-- , yesod-platform >= 1.1 && < 1.2
|
||||||
, yesod >= 1.1 && < 1.2
|
, yesod >= 1.1.4 && < 1.2
|
||||||
, yesod-core >= 1.1.2 && < 1.2
|
, yesod-core >= 1.1.5 && < 1.2
|
||||||
, yesod-auth >= 1.1 && < 1.2
|
, yesod-auth >= 1.1 && < 1.2
|
||||||
, yesod-static >= 1.1 && < 1.2
|
, yesod-static >= 1.1 && < 1.2
|
||||||
, yesod-default >= 1.1 && < 1.2
|
, yesod-default >= 1.1 && < 1.2
|
||||||
@ -374,7 +375,7 @@ library
|
|||||||
, template-haskell
|
, template-haskell
|
||||||
, hamlet >= 1.1 && < 1.2
|
, hamlet >= 1.1 && < 1.2
|
||||||
, shakespeare-css >= 1.0 && < 1.1
|
, 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
|
, shakespeare-text >= 1.0 && < 1.1
|
||||||
, hjsmin >= 0.1 && < 0.2
|
, hjsmin >= 0.1 && < 0.2
|
||||||
, monad-control >= 0.3 && < 0.4
|
, monad-control >= 0.3 && < 0.4
|
||||||
@ -384,6 +385,7 @@ library
|
|||||||
, directory >= 1.1 && < 1.3
|
, directory >= 1.1 && < 1.3
|
||||||
, warp >= 1.3 && < 1.4
|
, warp >= 1.3 && < 1.4
|
||||||
, data-default
|
, data-default
|
||||||
|
, aeson
|
||||||
|
|
||||||
executable PROJECTNAME
|
executable PROJECTNAME
|
||||||
if flag(library-only)
|
if flag(library-only)
|
||||||
@ -4830,7 +4832,7 @@ $maybe msg <- mmsg
|
|||||||
You can run your tests by doing: <pre>yesod test</pre>
|
You can run your tests by doing: <pre>yesod test</pre>
|
||||||
|
|
||||||
{-# START_FILE templates/homepage.julius #-}
|
{-# 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 #-}
|
{-# START_FILE templates/homepage.lucius #-}
|
||||||
h1 {
|
h1 {
|
||||||
|
|||||||
@ -286,6 +286,7 @@ import Model as Import
|
|||||||
import Settings as Import
|
import Settings as Import
|
||||||
import Settings.Development as Import
|
import Settings.Development as Import
|
||||||
import Settings.StaticFiles as Import
|
import Settings.StaticFiles as Import
|
||||||
|
import Data.Aeson as Import (toJSON)
|
||||||
|
|
||||||
#if __GLASGOW_HASKELL__ >= 704
|
#if __GLASGOW_HASKELL__ >= 704
|
||||||
import Data.Monoid as Import
|
import Data.Monoid as Import
|
||||||
@ -361,8 +362,8 @@ library
|
|||||||
|
|
||||||
build-depends: base >= 4 && < 5
|
build-depends: base >= 4 && < 5
|
||||||
-- , yesod-platform >= 1.1 && < 1.2
|
-- , yesod-platform >= 1.1 && < 1.2
|
||||||
, yesod >= 1.1 && < 1.2
|
, yesod >= 1.1.4 && < 1.2
|
||||||
, yesod-core >= 1.1.2 && < 1.2
|
, yesod-core >= 1.1.5 && < 1.2
|
||||||
, yesod-auth >= 1.1 && < 1.2
|
, yesod-auth >= 1.1 && < 1.2
|
||||||
, yesod-static >= 1.1 && < 1.2
|
, yesod-static >= 1.1 && < 1.2
|
||||||
, yesod-default >= 1.1 && < 1.2
|
, yesod-default >= 1.1 && < 1.2
|
||||||
@ -375,7 +376,7 @@ library
|
|||||||
, template-haskell
|
, template-haskell
|
||||||
, hamlet >= 1.1 && < 1.2
|
, hamlet >= 1.1 && < 1.2
|
||||||
, shakespeare-css >= 1.0 && < 1.1
|
, 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
|
, shakespeare-text >= 1.0 && < 1.1
|
||||||
, hjsmin >= 0.1 && < 0.2
|
, hjsmin >= 0.1 && < 0.2
|
||||||
, monad-control >= 0.3 && < 0.4
|
, monad-control >= 0.3 && < 0.4
|
||||||
@ -385,6 +386,7 @@ library
|
|||||||
, directory >= 1.1 && < 1.3
|
, directory >= 1.1 && < 1.3
|
||||||
, warp >= 1.3 && < 1.4
|
, warp >= 1.3 && < 1.4
|
||||||
, data-default
|
, data-default
|
||||||
|
, aeson
|
||||||
|
|
||||||
executable PROJECTNAME
|
executable PROJECTNAME
|
||||||
if flag(library-only)
|
if flag(library-only)
|
||||||
@ -4857,7 +4859,7 @@ $maybe msg <- mmsg
|
|||||||
You can run your tests by doing: <pre>yesod test</pre>
|
You can run your tests by doing: <pre>yesod test</pre>
|
||||||
|
|
||||||
{-# START_FILE templates/homepage.julius #-}
|
{-# 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 #-}
|
{-# START_FILE templates/homepage.lucius #-}
|
||||||
h1 {
|
h1 {
|
||||||
|
|||||||
@ -286,6 +286,7 @@ import Model as Import
|
|||||||
import Settings as Import
|
import Settings as Import
|
||||||
import Settings.Development as Import
|
import Settings.Development as Import
|
||||||
import Settings.StaticFiles as Import
|
import Settings.StaticFiles as Import
|
||||||
|
import Data.Aeson as Import (toJSON)
|
||||||
|
|
||||||
#if __GLASGOW_HASKELL__ >= 704
|
#if __GLASGOW_HASKELL__ >= 704
|
||||||
import Data.Monoid as Import
|
import Data.Monoid as Import
|
||||||
@ -361,8 +362,8 @@ library
|
|||||||
|
|
||||||
build-depends: base >= 4 && < 5
|
build-depends: base >= 4 && < 5
|
||||||
-- , yesod-platform >= 1.1 && < 1.2
|
-- , yesod-platform >= 1.1 && < 1.2
|
||||||
, yesod >= 1.1 && < 1.2
|
, yesod >= 1.1.4 && < 1.2
|
||||||
, yesod-core >= 1.1.2 && < 1.2
|
, yesod-core >= 1.1.5 && < 1.2
|
||||||
, yesod-auth >= 1.1 && < 1.2
|
, yesod-auth >= 1.1 && < 1.2
|
||||||
, yesod-static >= 1.1 && < 1.2
|
, yesod-static >= 1.1 && < 1.2
|
||||||
, yesod-default >= 1.1 && < 1.2
|
, yesod-default >= 1.1 && < 1.2
|
||||||
@ -375,7 +376,7 @@ library
|
|||||||
, template-haskell
|
, template-haskell
|
||||||
, hamlet >= 1.1 && < 1.2
|
, hamlet >= 1.1 && < 1.2
|
||||||
, shakespeare-css >= 1.0 && < 1.1
|
, 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
|
, shakespeare-text >= 1.0 && < 1.1
|
||||||
, hjsmin >= 0.1 && < 0.2
|
, hjsmin >= 0.1 && < 0.2
|
||||||
, monad-control >= 0.3 && < 0.4
|
, monad-control >= 0.3 && < 0.4
|
||||||
@ -385,6 +386,7 @@ library
|
|||||||
, directory >= 1.1 && < 1.3
|
, directory >= 1.1 && < 1.3
|
||||||
, warp >= 1.3 && < 1.4
|
, warp >= 1.3 && < 1.4
|
||||||
, data-default
|
, data-default
|
||||||
|
, aeson
|
||||||
|
|
||||||
executable PROJECTNAME
|
executable PROJECTNAME
|
||||||
if flag(library-only)
|
if flag(library-only)
|
||||||
@ -4831,7 +4833,7 @@ $maybe msg <- mmsg
|
|||||||
You can run your tests by doing: <pre>yesod test</pre>
|
You can run your tests by doing: <pre>yesod test</pre>
|
||||||
|
|
||||||
{-# START_FILE templates/homepage.julius #-}
|
{-# 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 #-}
|
{-# START_FILE templates/homepage.lucius #-}
|
||||||
h1 {
|
h1 {
|
||||||
|
|||||||
@ -235,6 +235,7 @@ import Foundation as Import
|
|||||||
import Settings as Import
|
import Settings as Import
|
||||||
import Settings.Development as Import
|
import Settings.Development as Import
|
||||||
import Settings.StaticFiles as Import
|
import Settings.StaticFiles as Import
|
||||||
|
import Data.Aeson as Import (toJSON)
|
||||||
|
|
||||||
#if __GLASGOW_HASKELL__ >= 704
|
#if __GLASGOW_HASKELL__ >= 704
|
||||||
import Data.Monoid as Import
|
import Data.Monoid as Import
|
||||||
@ -293,8 +294,8 @@ library
|
|||||||
|
|
||||||
build-depends: base >= 4 && < 5
|
build-depends: base >= 4 && < 5
|
||||||
-- , yesod-platform >= 1.1 && < 1.2
|
-- , yesod-platform >= 1.1 && < 1.2
|
||||||
, yesod >= 1.1 && < 1.2
|
, yesod >= 1.1.4 && < 1.2
|
||||||
, yesod-core >= 1.1.2 && < 1.2
|
, yesod-core >= 1.1.5 && < 1.2
|
||||||
, yesod-static >= 1.1 && < 1.2
|
, yesod-static >= 1.1 && < 1.2
|
||||||
, yesod-default >= 1.1 && < 1.2
|
, yesod-default >= 1.1 && < 1.2
|
||||||
, yesod-form >= 1.1 && < 1.3
|
, yesod-form >= 1.1 && < 1.3
|
||||||
@ -304,7 +305,7 @@ library
|
|||||||
, template-haskell
|
, template-haskell
|
||||||
, hamlet >= 1.1 && < 1.2
|
, hamlet >= 1.1 && < 1.2
|
||||||
, shakespeare-css >= 1.0 && < 1.1
|
, 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
|
, shakespeare-text >= 1.0 && < 1.1
|
||||||
, hjsmin >= 0.1 && < 0.2
|
, hjsmin >= 0.1 && < 0.2
|
||||||
, monad-control >= 0.3 && < 0.4
|
, monad-control >= 0.3 && < 0.4
|
||||||
@ -314,6 +315,7 @@ library
|
|||||||
, directory >= 1.1 && < 1.3
|
, directory >= 1.1 && < 1.3
|
||||||
, warp >= 1.3 && < 1.4
|
, warp >= 1.3 && < 1.4
|
||||||
, data-default
|
, data-default
|
||||||
|
, aeson
|
||||||
|
|
||||||
executable PROJECTNAME
|
executable PROJECTNAME
|
||||||
if flag(library-only)
|
if flag(library-only)
|
||||||
@ -4714,7 +4716,7 @@ $maybe msg <- mmsg
|
|||||||
You can run your tests by doing: <pre>yesod test</pre>
|
You can run your tests by doing: <pre>yesod test</pre>
|
||||||
|
|
||||||
{-# START_FILE templates/homepage.julius #-}
|
{-# 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 #-}
|
{-# START_FILE templates/homepage.lucius #-}
|
||||||
h1 {
|
h1 {
|
||||||
|
|||||||
@ -286,6 +286,7 @@ import Model as Import
|
|||||||
import Settings as Import
|
import Settings as Import
|
||||||
import Settings.Development as Import
|
import Settings.Development as Import
|
||||||
import Settings.StaticFiles as Import
|
import Settings.StaticFiles as Import
|
||||||
|
import Data.Aeson as Import (toJSON)
|
||||||
|
|
||||||
#if __GLASGOW_HASKELL__ >= 704
|
#if __GLASGOW_HASKELL__ >= 704
|
||||||
import Data.Monoid as Import
|
import Data.Monoid as Import
|
||||||
@ -361,8 +362,8 @@ library
|
|||||||
|
|
||||||
build-depends: base >= 4 && < 5
|
build-depends: base >= 4 && < 5
|
||||||
-- , yesod-platform >= 1.1 && < 1.2
|
-- , yesod-platform >= 1.1 && < 1.2
|
||||||
, yesod >= 1.1 && < 1.2
|
, yesod >= 1.1.4 && < 1.2
|
||||||
, yesod-core >= 1.1.2 && < 1.2
|
, yesod-core >= 1.1.5 && < 1.2
|
||||||
, yesod-auth >= 1.1 && < 1.2
|
, yesod-auth >= 1.1 && < 1.2
|
||||||
, yesod-static >= 1.1 && < 1.2
|
, yesod-static >= 1.1 && < 1.2
|
||||||
, yesod-default >= 1.1 && < 1.2
|
, yesod-default >= 1.1 && < 1.2
|
||||||
@ -375,7 +376,7 @@ library
|
|||||||
, template-haskell
|
, template-haskell
|
||||||
, hamlet >= 1.1 && < 1.2
|
, hamlet >= 1.1 && < 1.2
|
||||||
, shakespeare-css >= 1.0 && < 1.1
|
, 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
|
, shakespeare-text >= 1.0 && < 1.1
|
||||||
, hjsmin >= 0.1 && < 0.2
|
, hjsmin >= 0.1 && < 0.2
|
||||||
, monad-control >= 0.3 && < 0.4
|
, monad-control >= 0.3 && < 0.4
|
||||||
@ -385,6 +386,7 @@ library
|
|||||||
, directory >= 1.1 && < 1.3
|
, directory >= 1.1 && < 1.3
|
||||||
, warp >= 1.3 && < 1.4
|
, warp >= 1.3 && < 1.4
|
||||||
, data-default
|
, data-default
|
||||||
|
, aeson
|
||||||
|
|
||||||
executable PROJECTNAME
|
executable PROJECTNAME
|
||||||
if flag(library-only)
|
if flag(library-only)
|
||||||
@ -4827,7 +4829,7 @@ $maybe msg <- mmsg
|
|||||||
You can run your tests by doing: <pre>yesod test</pre>
|
You can run your tests by doing: <pre>yesod test</pre>
|
||||||
|
|
||||||
{-# START_FILE templates/homepage.julius #-}
|
{-# 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 #-}
|
{-# START_FILE templates/homepage.lucius #-}
|
||||||
h1 {
|
h1 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user