projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
packaging/dali-toolkit.spec use license macro
[platform/core/uifw/dali-toolkit.git]
/
node-addon
/
examples
/
mesh-morph.js
diff --git
a/node-addon/examples/mesh-morph.js
b/node-addon/examples/mesh-morph.js
index
1f59d36
..
14f3888
100644
(file)
--- a/
node-addon/examples/mesh-morph.js
+++ b/
node-addon/examples/mesh-morph.js
@@
-17,11
+17,14
@@
'view-mode': viewMode,
}
'view-mode': viewMode,
}
-// desktop
-//var dali = require('../build/Release/dali')( options );
-
-// target
-var dali = require('dali')( options );
+try {
+ // target
+ var dali = require('dali')( options );
+}
+catch(err) {
+ // desktop
+ var dali = require('../build/Release/dali')( options );
+}
var daliApp = {};
var daliApp = {};