Skip to content
View idettman's full-sized avatar

Block or report idettman

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
idettman/README.md

Isaac A. Dettman

  • 👋 Hi, I’m @idettman
  • 👀 I’m interested in JavaScript, Python, Rust, test driven design, and functional programming.

Pinned Loading

  1. browserify-strip-code browserify-strip-code Public

    Browserify transform for removing code between start and end comment blocks

    JavaScript 2

  2. Prototype to create css rules using ... Prototype to create css rules using functional concepts
    1
    'use strict';
    2
    
                  
    3
    /**
    4
     * @param {Function} a - Function is called using the result of 'b' as the argument
    5
     * @param {Function} b - Function 'b' is executed first with the callback arguments; the result is passed to 'a'
  3. JavaScript: JSDoc Advanced Tips JavaScript: JSDoc Advanced Tips
    1
    /* https://leahayes.wordpress.com/2011/08/28/documenting-javascript-with-jsdoc3/
    2
    3
    Namespaces can still be documented when a more abstract mechanism is used. @lends allows members to be added to an existing namespace:
    4
    */
    5
    /**
  4. NPM - Per-Package Config Settings NPM - Per-Package Config Settings
    1
    ### NPM Per-Package Config Settings
    2
    
                  
    3
    When running scripts, the **package.json** config keys are **overwritten** in the **environment** if there is a config param
    4
    
                  
    5
    `<name>[@<version>]:<key>`
  5. Dynamically generated barcode Dynamically generated barcode
    1
    /*
    2
    Dynamically generated barcode
    3
    Author: Isaac A. Dettman
    4
    */
    5
    var BarCodeGenerator = (function(window, document) {
  6. Add CSS dynamically using JS Add CSS dynamically using JS
    1
    // Add a new stylesheet to the document;
    2
    // url [optional] A url to an external stylesheet to use
    3
    // idx [optional] The index in document.styleSheets to insert the new sheet before
    4
    function AddStyleSheet(url,idx){
    5
    	var css,before=null,head=document.getElementsByTagName("head")[0];