Skip to content
Browse files

[cleanup] stdlib: JsInterface

  • Loading branch information...
1 parent 99d1963 commit 05a90a35745b3a24e2293a6f4c78ded0fb74bf02 @BourgerieQuentin BourgerieQuentin committed
Showing with 4 additions and 13 deletions.
  1. +4 −13 lib/stdlib/core/rpc/core/jsinterface.opa
View
17 lib/stdlib/core/rpc/core/jsinterface.opa
@@ -1,5 +1,5 @@
/*
- Copyright © 2011 MLstate
+ Copyright © 2011, 2012 MLstate
This file is part of Opa.
@@ -36,28 +36,19 @@ import stdlib.core.{js}
@server @publish JsInterface = {{
- @private define(source) =
- do JsIdent.define(source)
- JsIdent.rename(source)
-
- /**
- * funaction
- **/
- get_local_unsafe = define("get_local_unsafe")
-
/**
* dynamic xhtml
**/
- default_opa_event = define("default_opa_event")
+ default_opa_event = JsIdent.define_rename("default_opa_event")
/**
* opa2js
**/
- js_void = define("js_void")
+ js_void = JsIdent.define_rename("js_void")
/**
* opa2js
**/
- ServerChannel = define("ServerChannel")
+ ServerChannel = JsIdent.define_rename("ServerChannel")
}}

0 comments on commit 05a90a3

Please sign in to comment.
Something went wrong with that request. Please try again.