Mercurial > hg > dml-open-vis
comparison src/DML/MainVisBundle/Resources/assets/launcher.js @ 0:493bcb69166c
added public content
author | Daniel Wolff |
---|---|
date | Tue, 09 Feb 2016 20:54:02 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:493bcb69166c |
---|---|
1 $(function(){ | |
2 | |
3 // Testing of BEM (to be removed) | |
4 var $abc = $.bem.generateBlock('abc', ['my-modifier', 'my-modifier2']); | |
5 $abc.appendTo('body'); | |
6 | |
7 var $abcDef = $.bem.generateElement('abc', 'def', ['key_value', 'key2_value2']); | |
8 $abcDef.appendTo($abc); | |
9 | |
10 var $abc = $.bem.generateBlock('span', 'abc', ['my-modifier', 'my-modifier2']); | |
11 $abc.appendTo('body'); | |
12 | |
13 var $abcDef = $.bem.generateElement('span', 'abc', 'def', ['key_value', 'key2_value2']); | |
14 $abcDef.appendTo($abc); | |
15 | |
16 // App launcher | |
17 App.start({ | |
18 container: '.dml-main-vis', | |
19 dbVersion: dbVersion | |
20 }); | |
21 }); |