aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindings/js/efl_js
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2016-03-15 18:00:20 -0300
committerVitor Sousa <vitorsousasilva@gmail.com>2016-03-18 17:47:09 -0300
commit1422e62f302f2f2f0995b19f98d6f971e39a921f (patch)
tree13e7fbed6a0e5f4fde878907bc74645d241c8be6 /src/bindings/js/efl_js
parenteina_cxx: Add missing methods to Eina C++ wrappers (diff)
downloadefl-1422e62f302f2f2f0995b19f98d6f971e39a921f.tar.gz
efl js: Fix naming of manual binding functions.
Also removed references to the discarded manual binding "ecore_js_file".
Diffstat (limited to 'src/bindings/js/efl_js')
-rw-r--r--src/bindings/js/efl_js/efl_js.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bindings/js/efl_js/efl_js.cc b/src/bindings/js/efl_js/efl_js.cc
index 227766dc2b..b2f8e32b92 100644
--- a/src/bindings/js/efl_js/efl_js.cc
+++ b/src/bindings/js/efl_js/efl_js.cc
@@ -40,6 +40,7 @@ EAPI void eina_value_register(v8::Handle<v8::Object>, v8::Isolate* isolate);
EAPI void register_ecore_mainloop(v8::Handle<v8::Object> global, v8::Isolate* isolate);
namespace ecore {
+EAPI void register_animator(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_exe(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_idler(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_ecore(v8::Isolate* isolate, v8::Handle<v8::Object> exports);
@@ -154,10 +155,10 @@ EAPI void init(v8::Handle<v8::Object> exports)
eina_log_register(exports, v8::Isolate::GetCurrent());
eina_value_register(exports, v8::Isolate::GetCurrent());
register_ecore_mainloop(exports, v8::Isolate::GetCurrent());
- efl::ecore::js::register_ecore(v8::Isolate::GetCurrent(), exports);
efl::eio::js::register_eio(v8::Isolate::GetCurrent(), exports);
efl::eldbus::js::register_eldbus(v8::Isolate::GetCurrent(), exports);
efl::ethumb::js::register_ethumb(v8::Isolate::GetCurrent(), exports);
+ ecore::register_animator(exports, v8::Isolate::GetCurrent());
ecore::register_exe(exports, v8::Isolate::GetCurrent());
ecore::register_idler(exports, v8::Isolate::GetCurrent());
ecore::idle::register_enterer(exports, v8::Isolate::GetCurrent());
@@ -180,6 +181,9 @@ EAPI void init(v8::Handle<v8::Object> exports)
register_ecore_audio_out_pulse(exports, v8::Isolate::GetCurrent());
register_ecore_audio_out_sndfile(exports, v8::Isolate::GetCurrent());
#endif
+ // Manual ecore binding initialized last to allow extension of namespace
+ // created by eolian.
+ efl::ecore::js::register_ecore(v8::Isolate::GetCurrent(), exports);
efl::register_control(exports, v8::Isolate::GetCurrent());
efl::register_file(exports, v8::Isolate::GetCurrent());
efl::register_image(exports, v8::Isolate::GetCurrent());