From: pius.lee Date: Thu, 29 Jan 2015 14:28:54 +0000 (+0900) Subject: [Tool][Generator] don't check constructor used only in internally X-Git-Tag: submit/tizen_tv/20150603.064601~1^2~534 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d518ae286d6fb81445c71923f085a00c66ed666;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Tool][Generator] don't check constructor used only in internally Change-Id: I128eb446fca7356dd93e7e1e332688e858fc8472 Signed-off-by: pius.lee --- diff --git a/tools/skeleton_generator/tpl/tpl_api.js b/tools/skeleton_generator/tpl/tpl_api.js index 88de9529..40881ef7 100644 --- a/tools/skeleton_generator/tpl/tpl_api.js +++ b/tools/skeleton_generator/tpl/tpl_api.js @@ -86,7 +86,9 @@ function {{iface.name}}( {%- endfor -%} {%- endif -%}) { // constructor of {{iface.name}} + {% if iface.constructor %} validator_.isConstructorCall(this, {{iface.name}}); + {% endif %} {% for attribute in iface.getTypes('Attribute') %} {% if attribute.existIn == 'ctor' %}