Hi

I'm trying to install mobilespec to test under installed Cordova (3.4.0-0.1.0).

$ git clone [email protected]:zalun/cordova-mobile-spec.git
$ cordova create mobilespec
$ cd mobilespec
$ rm -rf www
$ ln -fs ../cordova-mobile-spec www
$ cordova platform add firefoxos
$ cordova plugin add ../cordova-mobile-spec/dependencies-plugin

And then adding a plugin from my directory (as usually with mobilespec)

On all pages I'm seeing
"Could not find cordova.js script tag. Plugin loading may fail." cordova.js:1213

When trying to test There is an error
ReferenceError: device is not defined
in this line:
console.log("Device="+device.platform+" "+device.version);

Am I doing something wrong?

Thanks
Piotr

Reply via email to