nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4a0b12
)
lib/emscripten: move up services from `String` to `Text`
author
Alexis Laferrière
<alexis.laf@xymus.net>
Wed, 26 Nov 2014 19:51:57 +0000
(14:51 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 27 Nov 2014 15:12:33 +0000
(10:12 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/emscripten.nit
patch
|
blob
|
history
diff --git
a/lib/emscripten.nit
b/lib/emscripten.nit
index
d46f4d1
..
3b4b5aa
100644
(file)
--- a/
lib/emscripten.nit
+++ b/
lib/emscripten.nit
@@
-21,7
+21,7
@@
module emscripten is platform
#include <gc.h>
`}
-redef class String
+redef class Text
fun run_js do run_js_native(self.escape_to_js.to_cstring)
private fun run_js_native(script: NativeString) `{ emscripten_run_script(script); `}