From 23388d51dd379edd4517f24312c36eef3954d709 Mon Sep 17 00:00:00 2001 From: carlosperate Date: Sun, 4 Jan 2015 03:42:01 +0000 Subject: [PATCH] Fixes google/blockly#40 ontouchstart was not defined within goog.global, using the closure browser capability checks instead --- blockly_compressed.js | 2 +- blockly_uncompressed.js | 104 ++++++++++++++++++++-------------------- core/utils.js | 2 +- 3 files changed, 54 insertions(+), 54 deletions(-) diff --git a/blockly_compressed.js b/blockly_compressed.js index 28eb0ae8f..0bb1a4d48 100644 --- a/blockly_compressed.js +++ b/blockly_compressed.js @@ -1284,7 +1284,7 @@ Blockly.updateToolbox=function(a){if(a=Blockly.parseToolboxTree_(a)){if(!Blockly // Copyright 2012 Google Inc. Apache License 2.0 Blockly.utils={};Blockly.addClass_=function(a,b){var c=a.getAttribute("class")||"";-1==(" "+c+" ").indexOf(" "+b+" ")&&(c&&(c+=" "),a.setAttribute("class",c+b))};Blockly.removeClass_=function(a,b){var c=a.getAttribute("class");if(-1!=(" "+c+" ").indexOf(" "+b+" ")){for(var c=c.split(/\s+/),d=0;d