Keybase proof
I hereby claim:
- I am stickel on github.
- I am stickel (https://keybase.io/stickel) on keybase.
- I have a public key whose fingerprint is 5020 AC34 60F8 C95B DCFF 1B15 9D7B 141A C449 7FF1
To claim this, I am signing this object:
module.exports = { | |
entry: { | |
app: ['webpack/hot/dev-server', './app/app'], // => webpack-dev-server will work but webpack build won't | |
app: ['./app/app', 'webpack/hot/dev-server'], // => both webpack-dev-server AND webpack build will work | |
vendor: ['./app/vendor'], | |
components: ['./app/components/home'] | |
} | |
}; |
(function (root, factory) { | |
if (typeof define === "function" && define.amd) { | |
// define(["angular", "hljs"], factory); | |
module.exports = factory(require("angular"), require("highlight.js")); | |
} else if (typeof module === "object" && module.exports) { | |
module.exports = factory(require("angular"), require("highlight.js")); | |
} else { | |
root.returnExports = factory(root.angular, root.hljs); | |
} | |
}(this, function (angular, hljs) { |
When installing `Jasmine` to run unit tests for an app you may run into the error `command not found` when calling `jasmine` from your project directory. To correct the error, install `Jasmine` globally (`npm install -g jasmine`) and the tests will run properly. |
Verifying that +stickel is my Bitcoin username. You can send me #bitcoin here: https://onename.io/stickel |
I hereby claim:
To claim this, I am signing this object:
YUI.add 'date-ago', (Y) -> | |
round = (value) -> | |
Math.round value | |
distanceOfTimeInWords = (from_time, to_time, include_s) -> | |
include_seconds = include_s or false | |
distance_in_minutes = round(Math.abs(to_time - from_time) / 60000) | |
distance_in_seconds = round(Math.abs(to_time - from_time) / 1000) | |
if distance_in_minutes < 2 | |
if include_seconds | |
return "less than 5 seconds" if distance_in_seconds < 5 |