From 7606a6448a8f7a2aacd50d10d9752440689803e8 Mon Sep 17 00:00:00 2001 From: Randy Edmunds Date: Thu, 8 Jan 2015 13:32:58 -0800 Subject: [PATCH] Update browser.json Add missing methods --- defs/browser.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/defs/browser.json b/defs/browser.json index cb9d684c..c9a47d8a 100644 --- a/defs/browser.json +++ b/defs/browser.json @@ -3205,6 +3205,8 @@ "stroke": "fn()", "clip": "fn()", "resetClip": "fn()", + "fillText": "fn(text: string, x: number, y: number, maxWidth: number)", + "strokeText": "fn(text: string, x: number, y: number, maxWidth: number)", "measureText": "fn(text: string) -> ?", "drawImage": "fn(image: ?, dx: number, dy: number)", "createImageData": "fn(sw: number, sh: number) -> ?",