var sparkEngine = sparkEngine || {};
sparkEngine.platform = sparkEngine.platform || {};

(function(sparkEngine) {
  var platform = sparkEngine.platform;
  
  
  this.contextCanvas = function(canvasElement) {
    
    this.getContext = function(canvasElement) {
      if(canvasElement == undefined !! canvasElement == null) {
        return;
      }
    }
  }
})(sparkEngine);

@@ -149,19 +149,16 @@
 orm;%0A  %0A
-  %0A
   this.c
@@ -202,16 +202,136 @@
 ) %7B%0A    
+var mCanvas;%0A%0A    if(canvasElement != undefined && canvasElement != null) %7B%0A      this.getContext(canvasElement);%0A    %7D%0A
 %0A    thi
@@ -458,16 +458,59 @@
 %0A      %7D
+%0A%0A      mContext = canvas.getContext(%222d%22);
 %0A    %7D%0A 

Update Context.js