Make sure you have a file called index.html. Create a branch:
$>git checkout -b gh-pages
$>git branch
master
*gh-pages| var a = 123 | |
| b = 'xyz' | |
| for(var i=0;i<a;i++){ | |
| b+=b | |
| } |
| <!-- {{>box}}--> | |
| <div class='box' | |
| style="top: {{ pos.top }}px; | |
| height: 200px; | |
| width: 300px;"> | |
| </div> | |
| <!-- {{/box}} --> | |
| {{#box1}} |
| <script> | |
| function run(){ | |
| var adjustedSpeed = this.speed * Math.max( .5, Math.random() ); | |
| this.position += Math.floor( adjustedSpeed ); | |
| } | |
| function fullName(){ | |
| return this.name + ' the ' + this.type; | |
| } |
| function Card( suit, rank ) { | |
| this.suit = suit; | |
| this.rank = rank; | |
| this.toHtml = function() { | |
| return '<li>' + this.rank + ' of ' + this.suit + '</li>'; | |
| } | |
| } | |
| function Deck( suits, ranks ) { | |
| this.cards = []; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Basic jQuery Pattern</title> | |
| <!-- <link rel="stylesheet" href="css/main.css"> --> | |
| <style> | |
| body { | |
| font-family: sans-serif; |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link rel="stylesheet" type="text/css" href="main.css"> | |
| </head> | |
| <body> | |
| <header> | |
| <h1>Super! Donut Shops</h1> | |
| </header> |
| <header> some page header </header> | |
| {{#if page}} | |
| <page/> | |
| {{/if}} |
| <textarea id='input'>this is my sentence</textarea> | |
| <script> | |
| // letter count | |
| // word count | |
| var textarea = document.getElementById('input'); | |
| var sentence = textarea.value; | |
| var length = sentence.length; |
| var gobble = require( 'gobble' ), | |
| makeComponent = require( './gobble/make-component' ), | |
| sass = require( './gobble/sass-file' ), | |
| join = require( 'path' ).join, | |
| bundleModules = require( './gobble/bundle-modules' ); | |
| console.log( 'gobble_env', gobble.env() ); | |
| var isProduction = gobble.env() === 'production'; |