add Stamplay.init definition for setting the app ID

This commit is contained in:
Merott Movahedi
2015-12-02 21:06:24 +00:00
parent 715df76441
commit ea650f84de
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
/// <reference path="stamplay-js-sdk.d.ts" />
Stamplay.init('sample');
var userFn = Stamplay.User();
var user = new userFn.Model;
var colTags = Stamplay.Cobject('tag');
+1
View File
@@ -26,6 +26,7 @@ declare module Stamplay {
}
export interface StamplayStatic {
init(appId : string) : void;
User() : IStamplayObject
Cobject(object : string) : IStamplayObject
}