-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add barriers, randomly placed on screen
- Loading branch information
Chris Hendrix and Yulia Tolskaya
committed
Jun 18, 2015
1 parent
938f104
commit e53fb2f
Showing
7 changed files
with
105 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Elm.Native.Now = {}; | ||
|
||
Elm.Native.Now.make = function(localRuntime) { | ||
|
||
localRuntime.Native = localRuntime.Native || {}; | ||
|
||
|
||
localRuntime.Native.Now = localRuntime.Native.Now || {}; | ||
|
||
if (localRuntime.Native.Now.values) { | ||
return localRuntime.Native.Now.values; | ||
} | ||
|
||
var Result = Elm.Result.make(localRuntime); | ||
|
||
return localRuntime.Native.Now.values = { | ||
loadTime: (new window.Date).getTime() | ||
}; | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module Now where | ||
|
||
import Native.Now | ||
|
||
loadTime : Float | ||
loadTime = Native.Now.loadTime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters