annotate src/DML/MainVisBundle/Resources/assets/launcher.js @ 1:f38015048f48 tip

Added GPL
author Daniel Wolff
date Sat, 13 Feb 2016 20:43:38 +0100
parents 493bcb69166c
children
rev   line source
Daniel@0 1 $(function(){
Daniel@0 2
Daniel@0 3 // Testing of BEM (to be removed)
Daniel@0 4 var $abc = $.bem.generateBlock('abc', ['my-modifier', 'my-modifier2']);
Daniel@0 5 $abc.appendTo('body');
Daniel@0 6
Daniel@0 7 var $abcDef = $.bem.generateElement('abc', 'def', ['key_value', 'key2_value2']);
Daniel@0 8 $abcDef.appendTo($abc);
Daniel@0 9
Daniel@0 10 var $abc = $.bem.generateBlock('span', 'abc', ['my-modifier', 'my-modifier2']);
Daniel@0 11 $abc.appendTo('body');
Daniel@0 12
Daniel@0 13 var $abcDef = $.bem.generateElement('span', 'abc', 'def', ['key_value', 'key2_value2']);
Daniel@0 14 $abcDef.appendTo($abc);
Daniel@0 15
Daniel@0 16 // App launcher
Daniel@0 17 App.start({
Daniel@0 18 container: '.dml-main-vis',
Daniel@0 19 dbVersion: dbVersion
Daniel@0 20 });
Daniel@0 21 });