define([], function() {
return {
play : play,
stop : stop,
pause : pause,
rewind : rewind,
fastForward : fastForward
};
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
<snippet> | |
<content><![CDATA[ | |
***** Add a footer to the bottom of your page ******** | |
<footer></footer> | |
******You might need to change the 'download' text in the following URL with 'view' | |
footer { | |
background-image: url('https://drive.google.com/uc?export=download&id=0B5dCmuP_S1lBdlFoQ1RWaFNqQXc'); | |
background-position: bottom; | |
background-repeat: repeat-x; |
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
Show hidden characters
{ | |
"node": true, | |
"curly": true, | |
"globals": { | |
"define": false, | |
"describe": false, | |
"before": false, | |
"after": false, | |
"it": false, | |
"beforeEach": 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
Reserved keywords as of ECMAScript 6 | |
break | |
case | |
class | |
catch | |
const | |
continue | |
debugger | |
default |
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
define(['jquery'], function($) { | |
'use strict'; | |
return function(urlArray) { | |
return $.when.apply($, urlArray.map(function(url) { | |
if(url) { | |
var $imgDeferred = new $.Deferred(); | |
setTimeout(function() { | |
var imageTag = new Image(); |
model.someUpperCaseMultiWordString = 'the ONE and ONLY';
<div rv-text='model.someUpperCaseMultiWordString | startCase'></div>
The Binder :
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
define(['lodash'], function(_) { | |
'use strict'; | |
return function getCardType(cardNumber) { | |
var key, value, noMatch = {}, types = _getPossibleCCTypes(); | |
if (!_.isString(cardNumber)) { return noMatch; } | |
for (key in types) { | |
if (!types.hasOwnProperty(key)) { continue; } |
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></title> | |
<style> | |
[rv-cloak] { | |
opacity: 0; | |
-webkit-transition: opacity 0.5s ease; | |
transition: opacity 0.5s ease; |
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
'use strict'; | |
var applicationConfigs = require('expressively').configs, | |
AWS = require('aws-sdk'), | |
BB = require('bluebird'), | |
path = require('path'), | |
logger = require('../lib/logger'), | |
s3Instance; | |
AWS.config.update({ |
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
find ./app -name '*.js' -not -path './app/public*' | xargs wc -l |
OlderNewer