Skip to content

opichals/yui3-dojox-gfx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A project to provide YUI3 modules for dojox.gfx running on top of the YUI3
internals (no dojo.js seedfile necessary).

This is useful to minimize the number of frameworks used when utilizing
dojox.gfx from an application generally built on top of YUI3.


Build
=====

# copy the dojo/dojox sources to the vendor folder
cp -r dojo dojox vendor/
# build it using https://github.com/mde/node-jake
jake
# get the ready-to-use YUI3 module files
cp -r src/dojox-gfx your-3rd-party-yui3-modules-folder


Current Usage
=============

Y.use('gallery-dojox-gfx', function(Y) {
    var dojo = Y.dojo, dojox = Y.dojox;

    // common dojo code follows...
    dojo.require('dojox.gfx');

    var surface = dojox.gfx.createSurface('nodeId', 300, 300);
    //
    // surface.createRect(...)
    //
});


License
=======

BSD License (http://www.dojotoolkit.org/license)


--
Standa Opichal <[email protected]>

About

dojox.gfx running on just enough YUI3 emulated dojo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published