Isaac A. Dettman
- 👋 Hi, I’m @idettman
- 👀 I’m interested in JavaScript, Python, Rust, test driven design, and functional programming.
Isaac A. Dettman
Browserify transform for removing code between start and end comment blocks
JavaScript 2
'use strict';
/**
* @param {Function} a - Function is called using the result of 'b' as the argument
* @param {Function} b - Function 'b' is executed first with the callback arguments; the result is passed to 'a'
/* https://leahayes.wordpress.com/2011/08/28/documenting-javascript-with-jsdoc3/
Namespaces can still be documented when a more abstract mechanism is used. @lends allows members to be added to an existing namespace:
*/
/**
### NPM Per-Package Config Settings
When running scripts, the **package.json** config keys are **overwritten** in the **environment** if there is a config param
`<name>[@<version>]:<key>`
Dynamically generated barcode
-----------------------------
A [Pen](https://codepen.io/idettman/pen/VYXjGx) by [Isaac Dettman](https://codepen.io/idettman) on [CodePen](https://codepen.io).
// Add a new stylesheet to the document;
// url [optional] A url to an external stylesheet to use
// idx [optional] The index in document.styleSheets to insert the new sheet before
function AddStyleSheet(url,idx){
var css,before=null,head=document.getElementsByTagName("head")[0];