This file contains hidden or 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
<html></html> |
This file contains hidden or 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
;; User behaviors | |
;; ----------------------------- | |
;; Behaviors are stored as a set of diffs that are merged together | |
;; to create the final set of functionality that makes up Light Table. You can | |
;; modify these diffs to either add or subtract functionality. | |
;; | |
;; Behaviors are added to tags, objects with those tags then automatically gain | |
;; whatever logic the behavior imparts. To see a list of user-level behaviors, | |
;; start typing a word related to the functionality you want in between the square | |
;; brackets (e.g. "theme"). |
This file contains hidden or 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
grunt.initConfig({ | |
// ... | |
cdn: { | |
options: { | |
/** @required - root URL of your CDN (may contains sub-paths as shown below) */ | |
cdn: 'https://YOUR-USERNAME.github.io/YOUR-REPO/', | |
/** @optional - if provided both absolute and relative paths will be converted */ | |
flatten: true | |
/** @optional - if provided will be added to the default supporting types */ | |
// supportedTypes: { 'phtml': 'html' } |
This file contains hidden or 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
// add this to your configuration | |
cdn: { | |
options: { | |
cdn: '//YOUR-USERNAME.com/YOUR-REPO-NAME/', | |
flatten: true | |
}, | |
dist: { | |
src: ['./dist/*.html', './dist/styles/{,*/}*{,*/}*.css'] | |
} | |
} |
This file contains hidden or 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
/** @jsx React.DOM */ | |
'use strict'; | |
var data = { | |
message: 'Dumb Dumb', | |
text: "green", | |
color: "green" | |
} | |
var HelloWorld = React.createClass({ | |
getInitialState: function() { |
This file contains hidden or 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
(ns test2 | |
"Let's start with something short." | |
(:require [dommy.core :as dom] | |
[inky.sketch :as sketch]) | |
(:use-macros [dommy.macros :only (node)])) | |
(sketch/page-style! | |
[:div.box {:position "absolute" | |
:top "48%" | |
:bottom "48%" |
This file contains hidden or 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
(ns test | |
"Let's start with something short." | |
(:require [dommy.core :as dom] | |
[inky.sketch :as sketch]) | |
(:use-macros [dommy.macros :only (node)])) | |
(sketch/page-style! | |
[:div.box {:position "absolute" | |
:top "48%" | |
:bottom "48%" |
This file contains hidden or 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
(ns first | |
"Let's start with something short." | |
(:require [dommy.core :as dom] | |
[inky.sketch :as sketch]) | |
(:use-macros [dommy.macros :only (node)])) | |
(sketch/page-style! | |
[:div.box {:position "absolute" | |
:top "48%" | |
:bottom "48%" |
This file contains hidden or 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
let function = macro { | |
rule { | |
$fn ($($arg ":"$type) (,) ...) $body | |
} => { | |
function $fn ($($arg) ...) { | |
if ($(typeof($arg) == $type &&) ...) {} | |
$($type) (,)... | |
} | |
} | |
} |
This file contains hidden or 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
# wercker.yml | |
box: wercker/nodejs | |
# Build definition | |
build: | |
# The steps that will be executed on build | |
steps: | |
# A step that executes `npm install` command | |
- npm-install |