❤️🔥
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 (ns){ | |
// this is due, to test all implications see | |
// http://www.jmvc.org/test_strict | |
"use strict"; | |
var debugActive = false; | |
/** | |
* Creates a namespace | |
* @param {String} str dot or slash separated path for the namespace |
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
/** | |
* [ description] | |
* @param {string} tpl the template | |
* @param {literal|function} obj a literal for substitution or a function that will | |
* return the substitution given as parameter a string | |
* @param {string} start optional- the opening placeholder delimitator (%) | |
* @param {string} end optional- the closing placeholder delimitator (%) | |
* @param {string} fb optional- a fallback value in case an element is not found | |
* @return {string} the resulting string with replaced values | |
*/ |
NewerOlder