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
var SPA="none"; | |
if (typeof(app)=="object") SPA = "unknown"; | |
if (window.hasOwnProperty('require')) { | |
if(window.require.hasOwnProperty('defined')){ | |
if(window.require.defined('troopjs-compose/decorator')) SPA = "troop"; | |
if(window.require.defined('flight/lib/component')) SPA = "flight"; | |
} | |
} |
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
var fs = require('fs'), | |
path = require("path"), | |
sizeOf = require('image-size'), | |
request = require('request').defaults({ proxy: process.env.HTTP_PROXY || process.env.http_proxy, jar: false }), | |
Kraken = require('kraken'); | |
//If you do not have a Kraken Account visit http://bit.ly/1Vnvnmr | |
var kraken = new Kraken({ | |
api_key: '{Your Kraken Key Goes Here}', |
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
/* | |
Migrated to: https://github.com/jdarling/Object.observe | |
Tested against Chromium build with Object.observe and acts EXACTLY the same, | |
though Chromium build is MUCH faster | |
Trying to stay as close to the spec as possible, | |
this is a work in progress, feel free to comment/update | |
http://wiki.ecmascript.org/doku.php?id=harmony:observe |
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
<script> | |
var ef = "?_escaped_fragment_="; | |
if (!('querySelector' in document) | |
|| !('localStorage' in window) | |
|| !('addEventListener' in window) | |
|| !('matchMedia' in window)) { | |
if (window.location.href.indexOf("#!") > 0) { |
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
<CodeSnippet Format="1.1.0" xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<Header> | |
<Title>MUSTACHE Template</Title> | |
<Author>Love2Dev</Author> | |
<Shortcut>musttemp</Shortcut> | |
<AlternativeShortcuts> | |
<Shortcut Value="musttemp">must:temp</Shortcut> | |
</AlternativeShortcuts> | |
<Description>Markup snippet for a MUSTACHE Template</Description> | |
<SnippetTypes> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets | |
xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>SPA JavaScript View</Title> | |
<Author>Chris Love</Author> | |
<Description>Creates the Base Code for a SPA JavaScript View</Description> | |
<Shortcut>view</Shortcut> | |
<SnippetTypes> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<CodeSnippets | |
xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<Title>Custom JavaScript Module</Title> | |
<Author>Chris Love</Author> | |
<Description>Creates the Base Code for a Stand Alone JavaScript Module</Description> | |
<Shortcut>module</Shortcut> | |
<SnippetTypes> |
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
(function (window, $, undefined) { | |
//actual module definition here | |
})(window, $); |
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
<meta name="msapplication-allowDomainMetaTags" content="true"> | |
<meta name="msapplication-config" content="http://love2dev.com/livetile.xml" /> | |
<meta name="msapplication-navbutton-color" content="#990000"> | |
<meta name="msapplication-TileColor" content="#000000" /> | |
<meta name="msapplication-TileImage" content="img/love2devlogo.png" /> | |
<meta name="msapplication-square70x70logo" content="img/tinylove2devlogo.png" /> |
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
<link href="img/h/apple-touch-icon.png" rel="apple-touch-icon-precomposed" sizes="114x114"> | |
<link href="img/m/apple-touch-icon.png" rel="apple-touch-icon-precomposed" sizes="72x72"> | |
<link href="img/l/apple-touch-icon-precomposed.png" rel="apple-touch-icon-precomposed"> | |
<link href="img/l/apple-touch-icon.png" rel="shortcut icon"> | |
<meta content="yes" name="apple-mobile-web-app-capable"> | |
<meta content="black" name="apple-mobile-web-app-status-bar-style"> | |
<link href="img/l/splash.png" rel="apple-touch-startup-image"> |
NewerOlder