Merge pull request #7030 from Merott/stamplay-init

add Stamplay.init definition for setting the app ID
This commit is contained in:
Horiuchi_H
2015-12-07 15:32:43 +09:00
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
}