I hereby claim:
- I am spencercarnage on github.
- I am spencercarney (https://keybase.io/spencercarney) on keybase.
- I have a public key ASA5uuLhRpHwpDAgUo-QIoHM4VQ-AbTX0br-612G95o1iAo
To claim this, I am signing this object:
// Jasmine's `andReturn` sets the value at instantiation and it can | |
// never be changed after that apparently. Use `andCallFake` instead | |
// if you need it to be dynamic. | |
var value = 9; | |
var getValueOne = jasmine.createSpy('spyOneAndReturn').andReturn(value); | |
var getValueTwo = jasmine.createSpy('spyOneCallFake').andCallFake(function () { |
// Example pulled from https://scotch.io/tutorials/angularjs-best-practices-directory-structure | |
/* | |
app/ | |
----- shared/ // acts as reusable components or partials of our site | |
---------- sidebar/ | |
--------------- sidebarDirective.js | |
--------------- sidebarView.html | |
---------- article/ | |
--------------- articleDirective.js |
{ | |
"MAP": { | |
"MAP_HEADER": "Some string", | |
"MAP_DESCRIPTION": "A description" | |
}, | |
"DEVICES": { | |
"DEVICES_HEADER": "My devices" | |
} | |
} |
component/ | |
├── atlas.module.js | |
├── atlas.provider.js | |
├── atlas.provider_spec.js | |
├── circle.directive_spec.js | |
├── circle.directive.spec.js | |
├── connection | |
├── connection.directive.js | |
├── connection.directive_spec.js | |
├── connection.controller.js |
"browserify": { | |
"transform": [ | |
[ | |
"babelify", | |
{ | |
"optional": [ | |
"runtime" | |
], | |
"whitelist": [ | |
"es6.arrowFunctions", |
var path = require('path'); | |
var merge = require('webpack-merge'); | |
var webpack = require('webpack'); | |
var ProgressPlugin = require('webpack/lib/ProgressPlugin'); | |
var CleanPlugin = require('clean-webpack-plugin'); | |
var webpackUtils = require('./webpackUtils'); // helper file for common tasks | |
var common; | |
var config; | |
common = { |
I hereby claim:
To claim this, I am signing this object: