From 8436d7cc0f6417961dad170269b048f0ddc5bbda Mon Sep 17 00:00:00 2001 From: "Huabing.Xu" Date: Sun, 12 Jun 2016 11:22:35 +0800 Subject: [PATCH] fix error in JSB for label outline --- jsb/jsb-label.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jsb/jsb-label.js b/jsb/jsb-label.js index 05a346e0c4..c24c112478 100644 --- a/jsb/jsb-label.js +++ b/jsb/jsb-label.js @@ -156,6 +156,10 @@ jsbLabel.prototype.setOutlineColor = function(value) { } }; +jsbLabel.prototype.setMargin = function(value) { + //add an empty here, needed to be implemented by native +} + jsbLabel.prototype.isOutlined = function(value) { return !!this._outlined; };