Clear Up
SharpKit Reference

Raphael.ninja Method

If you want to leave no trace of Raphaël (Well, Raphaël creates only one global variable Raphael, but anyway.) You can use ninja method. Beware, that in this case plugins could stop working, because they are depending on global variable existance.

Namespace: SharpKit.Raphael

Class: Raphael

Syntax

public static object ninja()

Return Value

Type: System.Object
Raphael object

Examples

usage
(function (local_raphael) {
var paper = local_raphael(10, 10, 320, 200);
…
})(Raphael.ninja());
            
© Copyright 2005-2011 SharpKit. All rights reserved.