overview of source conventions

name space

Declare the name space in a core file (chenillekit.js)

                    
var Ck = {};

// additional base code

                

object within the namespace

Declare an object within the namespace in a subsequent file.

                    
var Ck.SlideShow = Class.create();
Ck.SlideShow.prototype =
{
    initialize: function()
    {
        //construct
    }
};