Add typings for contextjs 2.1.1

This commit is contained in:
Kern Handa
2015-07-12 01:14:28 -07:00
parent a9c59f8166
commit 476a231fe3
2 changed files with 49 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import context = require("contextjs");
context.init();
context.settings({compress: true});
context.attach('#test', [
{header: 'header 1'},
{divider: true},
{text:'foobar', submenu: [
{text:'sub1'},
{text:'sub2'}
]}
]);
context.destroy('#test');