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
introField : Model -> Int -> String -> Html Msg | |
introField model index paragraph = | |
node "div" [] | |
[ ( toString index | |
, Textfield.render Mdl [ 3, 0, index ] model.mdl | |
[ Textfield.label <| | |
"Paragraph " ++ | |
(toString <| index + 1) ++ | |
" of Introduction" | |
, Textfield.floatingLabel |
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
module Layout exposing ( .. ) | |
import Html exposing ( .. ) | |
import Html.App | |
import Html.Attributes exposing ( .. ) | |
import Material | |
import Material.Scheme as Scheme | |
import Material.Layout as Layout | |
import Material.List as List' |
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
module Recipe exposing ( .. ) | |
import Html exposing ( .. ) | |
import Html.Attributes exposing ( class, id ) | |
import Html.Events exposing ( onClick, onMouseEnter, onMouseLeave ) | |
import Material | |
import Material.Scheme | |
import Material.Card as Card | |
import Material.Options as Options exposing ( cs, css ) |
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
/* ####### | |
#### #### | |
#### ### #### | |
##### ########### sanctuary | |
######## ######## noun | |
########### ##### 1 [ mass noun ] refuge from unsafe JavaScript | |
#### ### #### | |
#### #### | |
####### */ |
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
'use strict'; | |
import Maybe from 'maybe'; | |
import R from 'ramda'; | |
var person = { | |
'name' : 'Homer Simpson', | |
'address' : { | |
'street' : '123 Fake St.', | |
'city' : 'Springfield' |
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
'use strict' | |
import Id from 'id' | |
const func = x => x + 2; | |
const extFunc = x => x.extract( ) * 10; | |
const intId = Id.of( 1 ); | |
const arrayId = Id.of( [ 1, 2 ] ); | |
const stringId = Id.of( 'stuff' ); | |
const functionId = Id.of( func ); |
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
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"node": true, | |
"amd": true | |
}, | |
"ecmaFeatures": { |
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
{"title":"Chester Tester","author":"ChetHarrison","pages":[{"pageName":"","sections":[{"type":"text","source":"This is a new Gistbook."},{"type":"html","source":"<DOCTYPE html>\n <h1>Howdy</h1>\n</DOCTYPE>"},{"type":"css","source":"h1 {\n color: red;\n}"},{"type":"javascript","source":"alert('check');"}]}],"public":true} |
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
'use strict'; | |
var fs = require('fs'), | |
path = require('path'), | |
jsToAst = require('./src/parsers/js-to-ast.js'), | |
https = require('https'), | |
rawGitScrUrl = 'https://rawgit.com/marionettejs/backbone.marionette/master/src/', | |
get, srcFileList, options; | |
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
'use strict'; | |
var fs = require('fs'), | |
path = require('path'), | |
jsToAst = require('./src/parsers/js-to-ast.js'), | |
https = require('https'), | |
rawGitScrUrl = 'https://rawgit.com/marionettejs/backbone.marionette/master/src/', | |
get, srcFileList, options; | |
NewerOlder