Created
March 31, 2018 22:55
-
-
Save tindzk/67e9e60aa1d6a2c5b7aa0779a6993470 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
object CodeGenFunctions extends js.Object { | |
def fn() = println("hello") | |
} | |
// JavaScript output | |
function $s_Lminicol_CodeGenFunctions$__fn__Lminicol_CodeGenFunctions$__V($this) { | |
$m_Lminicol_package$(); | |
console.log("hello") | |
} | |
var $b_Lminicol_CodeGenFunctions$ = (void 0); | |
function $a_Lminicol_CodeGenFunctions$() { | |
if ((!$b_Lminicol_CodeGenFunctions$)) { | |
/** @constructor */ | |
var $c_Lminicol_CodeGenFunctions$ = (function $c_Lminicol_CodeGenFunctions$() { | |
Object.call(this) | |
}); | |
/** @constructor */ | |
var $h_Lminicol_CodeGenFunctions$ = (function $h_Lminicol_CodeGenFunctions$() { | |
/*<skip>*/ | |
}); | |
$h_Lminicol_CodeGenFunctions$.prototype = Object.prototype; | |
$c_Lminicol_CodeGenFunctions$.prototype = new $h_Lminicol_CodeGenFunctions$(); | |
$c_Lminicol_CodeGenFunctions$.prototype.constructor = $c_Lminicol_CodeGenFunctions$; | |
$c_Lminicol_CodeGenFunctions$.prototype.fn = (function() { | |
$s_Lminicol_CodeGenFunctions$__fn__Lminicol_CodeGenFunctions$__V(this) | |
}); | |
$b_Lminicol_CodeGenFunctions$ = $c_Lminicol_CodeGenFunctions$ | |
}; | |
return $b_Lminicol_CodeGenFunctions$ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment