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
/*global module: true, require: true, __dirname: true */ | |
module.exports = function(grunt) { | |
'use strict'; | |
var scripts, | |
config; | |
// Load grunt tasks automatically | |
require('load-grunt-tasks')(grunt); |
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
{ | |
"account":{ | |
"id":"e3fb5115-e010-e311-955e-005056a91854", | |
"company":{ | |
"name":"Dell Inc.", | |
"address":{ | |
"address1":"1 Dell Way", | |
"city":"Round Rock", | |
"state":"TX", | |
"postalCode":"78682", |
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
{ | |
"account":{ | |
"id":"8869c30d-a23e-e411-8632-005056a91854", | |
"ownerName":"Dane MacAulay", | |
"company":{ | |
"name":"Kellog", | |
"address":{ | |
"address1":"1 Kellogg Sq", | |
"city":"Battle Creek", | |
"state":"MI", |
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
'use strict'; | |
// load css | |
require('./styles'); | |
// Load polyfills | |
require('famous-polyfills'); | |
// import dependencies | |
var Engine = require('famous/core/Engine'); |
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 passedThing () { | |
console.log('passedThing'); | |
} | |
function anotherThing () { | |
console.log('anotherThing'); | |
} | |
function changeThing () { | |
passedThing = anotherThing; |
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
:host:www.gstatic.com | |
:method:GET | |
:path:/og/_/js/k=og.og2.en_US.5iiIdIiN4rc.O/rt=j/m=sy0,sy2,sy3,drt,sy4,sy9,def/rs=AItRSTO15owAcNqlvIuGBQd8SJPdBIe15w | |
:scheme:https | |
:version:HTTP/1.1 | |
accept:*/* | |
accept-encoding:gzip,deflate,sdch | |
accept-language:en-US,en;q=0.8 | |
cache-control:no-cache | |
pragma:no-cache |
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 () { | |
'use strict'; | |
window.console = window.console || {}; | |
if (typeof Envjs !== 'undefined') { | |
return; | |
} | |
var methodNames = [ | |
'assert', | |
'clear', |
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 setAuthenticationHeaders(config, authService) { | |
// Is this a local URL? If so, add auth headers, but don't overwrite | |
// any that are not already set - this allows someone to pass in | |
// overrides if so desired. | |
// | |
// Note: we don't want to send out headers to URLs that will go out to | |
// the CDN. This would be very bad. This path check should be sufficient | |
// to that end. | |
if (config.url.indexOf('/DNB360UIAgent/') === 0) { | |
var authHeaders = authService.authHeaders(); |
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
require 'rbconfig' | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "hashicorp/precise32" | |
# Provider-specific configuration so you can fine-tune various | |
# backing providers for Vagrant. These expose provider-specific options. |
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
'use strict'; | |
var string = require('string'); | |
var fs = require('fs'); | |
var path = require('path'); | |
var glob = require('glob'); | |
var cheerio = require('cheerio'); | |
glob('app/**/*.html', {}, function(er, files) { |