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
/*global require:true, console: true*/ | |
var requirejs = require('requirejs'), | |
//... | |
config = { | |
//... | |
modules: [ | |
{ | |
name: 'app/core', | |
include: ['app/modules/app-flow', 'app/modules/font-resize'] | |
}, |
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
//<meta name="viewport" content="width=device-width, initial-scale=1"> | |
if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i)) { | |
var viewportmeta = document.querySelector('meta[name="viewport"]'); | |
if (viewportmeta) { | |
viewportmeta.content = 'width=device-width, minimum-scale=1.0, maximum-scale=1.0, initial-scale=1.0'; | |
document.body.addEventListener('gesturestart', function () { | |
viewportmeta.content = 'width=device-width, minimum-scale=0.25, maximum-scale=1.6'; | |
}, false); | |
} |
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
<!DOCTYPE HTML> | |
<!--[if lt IE 7]> <html lang="en-us" class="no-js lt-ie9 lt-ie8 lt-ie7 ie6"> <![endif]--> | |
<!--[if IE 7]> <html lang="en-us" class="no-js lt-ie9 lt-ie8 ie7"> <![endif]--> | |
<!--[if IE 8]> <html lang="en-us" class="no-js lt-ie9 ie8"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html lang="en-us" class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="UTF-8"> | |
<meta property="og:url" content="http://sitedomain/"> | |
<meta property="og:title" content="Site"> | |
<meta property="og:type" content="website"> |
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
{ | |
// To fix column positions for JSHint errors you may want to add `"indent": 1` to your | |
// **User** "jshint_options". This issue affects users with tabs for indentation. | |
// This fix was reverted due to a conflict with using the `"white": true` option. | |
// "indent": 1, | |
//Enforcing Options | |
"camelcase": true, | |
"curly": true, | |
"eqeqeq": true, |
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
/*jshint strict:false*/ | |
/*global require:true, console:true, __dirname:true*/ | |
var path = require('path'), | |
exec = require('child_process').exec, | |
//developmentFilesPath - relative path from this file to source folder, don't add trailing splash | |
developmentFilesPath = '..', | |
watcher = require('watch-tree-maintained').watchTree(path.join(__dirname, developmentFilesPath), { | |
match : /\.(scss|js)$/g | |
}); |
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
// ---- | |
// Sass (v3.3.0.rc.2) | |
// Compass (v1.0.0.alpha.17) | |
// ---- | |
// Ever wanted to know what would be the color operations to apply to a color | |
// in order to find a second color, just out of curiosity? | |
// Like, "how to programmatically go from #BADA55 to #B0BCA7"? | |
// -------------------------------------------------------------------------------- | |
// @param (color) $a: first color |
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
/*global _*/ | |
(function () { | |
'use strict'; | |
function Sandbox(props) { | |
} | |
Sandbox.prototype = { | |
constructor: Sandbox, | |
on: function (event, cb) {}, | |
off: function (event) {}, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<span class="a button a">WHOA</span> | |
<span class="a button--primary a">WHOA</span> | |
<span class="a button--primaryAlt a">WHOA</span> |
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
<!DOCTYPE html> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<meta name="robots" content="noodp, noydir" /> | |
<link rel="dns-prefetch" href="//cdnjs.cloudflare.com"> | |
<link rel="canonical" href="http://mysite.com/" /> | |
<link rel="stylesheet" href="http://mysite.com/style.css" type="text/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
{ | |
"type": "Program", | |
"start": 0, | |
"end": 160, | |
"range": [ | |
0, | |
160 | |
], | |
"body": [ | |
{ |
OlderNewer