js: fix binding after namespace change of connector

Summary:
Update register function after change introduced in
the commit dc56052150
changed the native API.

@fix

Reviewers: q66, cedric, felipealmeida

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3547

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
This commit is contained in:
Lauro Moura 2016-01-07 10:31:53 -08:00 committed by Cedric BAIL
parent 99ac0763ab
commit bc67b215ac
1 changed files with 2 additions and 2 deletions

View File

@ -54,12 +54,12 @@ EAPI void register_timer(v8::Handle<v8::Object> global, v8::Isolate* isolate);
namespace con {
EAPI void register_base(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_client(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_connector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_server(v8::Handle<v8::Object> global, v8::Isolate* isolate);
}
}
namespace efl { namespace network {
EAPI void register_connector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_url(v8::Handle<v8::Object> global, v8::Isolate* isolate);
}}
@ -167,7 +167,7 @@ EAPI void init(v8::Handle<v8::Object> exports)
ecore::register_timer(exports, v8::Isolate::GetCurrent());
ecore::con::register_base(exports, v8::Isolate::GetCurrent());
ecore::con::register_client(exports, v8::Isolate::GetCurrent());
ecore::con::register_connector(exports, v8::Isolate::GetCurrent());
efl::network::register_connector(exports, v8::Isolate::GetCurrent());
ecore::con::register_server(exports, v8::Isolate::GetCurrent());
efl::network::register_url(exports, v8::Isolate::GetCurrent());
#if 1