projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de37b05
)
[Tool][Generator] don't check constructor used only in internally
author
pius.lee
<pius.lee@samsung.com>
Thu, 29 Jan 2015 14:28:54 +0000
(23:28 +0900)
committer
pius.lee
<pius.lee@samsung.com>
Thu, 29 Jan 2015 14:28:54 +0000
(23:28 +0900)
Change-Id: I128eb446fca7356dd93e7e1e332688e858fc8472
Signed-off-by: pius.lee <pius.lee@samsung.com>
tools/skeleton_generator/tpl/tpl_api.js
patch
|
blob
|
history
diff --git
a/tools/skeleton_generator/tpl/tpl_api.js
b/tools/skeleton_generator/tpl/tpl_api.js
index 88de9529014a60bb01fb5febdb200c62f914c012..40881ef743d5fbaca0a82a412454814c34b68fa8 100644
(file)
--- 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' %}