aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindings/js/efl_js
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2016-07-26 18:21:02 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-10-25 12:23:34 -0200
commit4f52588b3ce86e3bef7041d76d07eda58c41c79d (patch)
treebbec523a2ac6595bb8481ab5924e937aa7ebcced /src/bindings/js/efl_js
parenteo_js: Instead of abort, throw an Exception (diff)
downloadefl-4f52588b3ce86e3bef7041d76d07eda58c41c79d.tar.gz
efl_js: Update JS examples
Changing imports, functions, etc. Also export "cast" function for all eolian_js generated classes.
Diffstat (limited to 'src/bindings/js/efl_js')
-rw-r--r--src/bindings/js/efl_js/efl_js.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bindings/js/efl_js/efl_js.cc b/src/bindings/js/efl_js/efl_js.cc
index 8a5cec3468..a4b28d8fe9 100644
--- a/src/bindings/js/efl_js/efl_js.cc
+++ b/src/bindings/js/efl_js/efl_js.cc
@@ -73,6 +73,7 @@ EAPI void register_ecore_audio_out_sndfile(v8::Handle<v8::Object> global, v8::Is
namespace efl {
EAPI void register_animator(v8::Handle<v8::Object> global, v8::Isolate* isolate);
+EAPI void register_container(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_control(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_file(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_image(v8::Handle<v8::Object> global, v8::Isolate* isolate);
@@ -87,6 +88,7 @@ EAPI void register_video(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_flip(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_frame(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_box(v8::Handle<v8::Object> global, v8::Isolate* isolate);
+EAPI void register_image(v8::Handle<v8::Object> global, v8::Isolate* isolate);
}}
namespace efl { namespace ui { namespace win {
@@ -380,7 +382,7 @@ EAPI void init(v8::Handle<v8::Object> exports)
// elm::register_combobox(exports, v8::Isolate::GetCurrent());
// doesn't exist
- // elm::register_container(exports, v8::Isolate::GetCurrent());
+ efl::register_container(exports, v8::Isolate::GetCurrent());
elm::register_ctxpopup(exports, v8::Isolate::GetCurrent());
elm::register_datetime(exports, v8::Isolate::GetCurrent());
@@ -398,6 +400,7 @@ EAPI void init(v8::Handle<v8::Object> exports)
elm::register_flipselector(exports, v8::Isolate::GetCurrent());
efl::ui::register_frame(exports, v8::Isolate::GetCurrent());
efl::ui::register_box(exports, v8::Isolate::GetCurrent());
+ efl::ui::register_image(exports, v8::Isolate::GetCurrent());
// crash
// elm::register_gengrid(exports, v8::Isolate::GetCurrent());