forked from Botanical/BotanJS
Deprecating old approach
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
/** @define {boolean} */
|
||||
var DEBUG = false;
|
||||
|
||||
function internalNameThatShouldDisappear(name) {
|
||||
if (DEBUG) {
|
||||
console.log('debug mode');
|
||||
}
|
||||
return 'hello ' + name;
|
||||
}
|
||||
|
||||
window.demoHello = function(name) {
|
||||
return internalNameThatShouldDisappear(name);
|
||||
};
|
||||
Reference in New Issue
Block a user