How to use the raphael.vml function in raphael

To help you get started, we’ve selected a few raphael examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Icinga / icingaweb2 / test / frontend / i2w-config.js View on Github external
bootstrap: 'vendor/bootstrap.min',
                eve: 'vendor/raphael/eve'
            };
        } else {
            libraries = libraries || {};
            libraries.logging = 'icinga/util/logging';
            libraries.jquery = 'vendor/jquery-1.8.3';
            libraries["modules/list"] = "/moduleMock";
            if (libraries.bootstrap || libraries.icinga) {
                libraries.bootstrap = 'vendor/bootstrap.min';
                libraries.history = 'vendor/history';
                libraries.eve =  'vendor/raphael/eve';
                libraries.raphael = 'vendor/raphael/raphael.amd';
                libraries["raphael.core"] = 'vendor/raphael/raphael.core';
                libraries["raphael.svg"] = 'vendor/raphael/raphael.svg';
                libraries["raphael.vml"] = 'vendor/raphael/raphael.vml';
            }
            if (libraries.ace) {
                libraries.ace = 'vendor/ace/ace';
            }
        }
        var bootstrap = libraries.icinga;
        delete(libraries.icinga);
        requirejs.config({
            baseUrl: window.base_url + '/js',
            paths: libraries       
        });
        if (bootstrap) {

            requirejs(['jquery', 'history']);
            requirejs(['bootstrap']);
            requirejs(['icinga/icinga'], function (Icinga) {