diff --git a/api/html5_canvas.js b/api/html5_canvas.js index e75ae10777..112dd3a2c2 100644 --- a/api/html5_canvas.js +++ b/api/html5_canvas.js @@ -23,6 +23,8 @@ * Any text inside the between <canvas> tags will be displayed in browsers that do not support the canvas element. * @BB60+ * @PB10+ + * @RIPPLE + * @BB10X */ canvas ={ @@ -40,6 +42,7 @@ * @BB60+ * @PB10+ * @RIPPLE + * @BB10X * @example * <canvas id="myCanvas" width="200" height="100"></canvas> */ @@ -58,6 +61,7 @@ * @BB60+ * @PB10+ * @RIPPLE + * @BB10X */ width :, @@ -71,6 +75,7 @@ * @BB60+ * @PB10+ * @RIPPLE + * @BB10X * @example * <script type="text/javascript"> * var c=document.getElementById("myCanvas"); @@ -93,6 +98,7 @@ * @BB60+ * @PB10+ * @RIPPLE + * @BB10X * @example * <script> * var img1=new Image(); diff --git a/api/html5_touch.js b/api/html5_touch.js index f8d822bd4e..73a21483c1 100644 --- a/api/html5_touch.js +++ b/api/html5_touch.js @@ -345,7 +345,7 @@ ctrlKey,altKey,shiftKey,metaKey,touches,targetTouches,changedTouches) { * var img = document.createElement('img'); * img.ontouchstart=function(e) { * -* for(var i = 0; I < e. touches.length; i++) +* for(var i = 0; i < e.touches.length; i++) * { * var touch = touches[i]; * @@ -354,9 +354,10 @@ ctrlKey,altKey,shiftKey,metaKey,touches,targetTouches,changedTouches) { * * // do something * } +*}; * @example * preventMove = function(e) { -* evt.preventDefault(); +* e.preventDefault(); * window.scroll(0, 0); * return false; * };