[DataSync] Fix JS
authorRafal Galka <r.galka@samsung.com>
Tue, 30 Dec 2014 18:12:37 +0000 (19:12 +0100)
committerRafal Galka <r.galka@samsung.com>
Tue, 30 Dec 2014 18:12:37 +0000 (19:12 +0100)
This fixes module loading.

Change-Id: I007520c1f3678e5b305b37c13ccaf4a33e83fc46

src/datasync/datasync_api.js

index c3b20e3..8335a65 100644 (file)
@@ -10,7 +10,7 @@ var callbackId = 0;
 var callbacks = {};
 var hideProtectedProporties = true;
 var native_ = new xwalk.utils.NativeManager(extension);
-var validator_ = new xwalk.utils.validator;
+var validator_ = xwalk.utils.validator;
 
 // for the time of serialization 'write-only' and 'read-only' properties
 // should be able to run with correct value