view 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
line wrap: on
line source
$(function(){
    
    // Testing of BEM (to be removed)
    var $abc = $.bem.generateBlock('abc', ['my-modifier', 'my-modifier2']);
    $abc.appendTo('body');

    var $abcDef = $.bem.generateElement('abc', 'def', ['key_value', 'key2_value2']);
    $abcDef.appendTo($abc);

    var $abc = $.bem.generateBlock('span', 'abc', ['my-modifier', 'my-modifier2']);
    $abc.appendTo('body');
    
    var $abcDef = $.bem.generateElement('span', 'abc', 'def', ['key_value', 'key2_value2']);
    $abcDef.appendTo($abc);
    
    // App launcher
    App.start({
        container: '.dml-main-vis', 
        dbVersion: dbVersion
    });
});