Add primitive api for using html5 local storage.

Lib fixes.
This commit is contained in:
pTalanov
2012-03-10 22:23:44 +04:00
parent 37db5e072c
commit c812d039b6
2 changed files with 26 additions and 5 deletions
+11
View File
@@ -0,0 +1,11 @@
package html5.localstorage
import js.native
native
val localStorage : LocalStorageClass = js.noImpl
native
class LocalStorageClass() {
fun getItem(key : String) : Any? = js.noImpl
fun setItem(key : String, value : Any?) : Unit = js.noImpl
}