Permalink
Browse files

fixes issue #383

  • Loading branch information...
1 parent ec1ba02 commit 102c798809dcfe90264e173e77443291109ffbc1 @dansilivestru dansilivestru committed Jul 24, 2012
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2011 Research In Motion Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
var utils = require('ripple/utils'),
transport = require('ripple/platform/webworks.core/2.0.0/client/transport'),
system = require('ripple/platform/webworks.core/2.0.0/client/system'),
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2011 Research In Motion Limited.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var utils = require('ripple/utils'),
+ transport = require('ripple/platform/webworks.core/2.0.0/client/transport'),
+ system = require('ripple/platform/webworks.core/2.0.0/client/system'),
+ _uri = "blackberry/system/";
+
+system.__defineGetter__("scriptApiVersion", function () {
+ return transport.call(_uri + "softwareVersion");
+});
+
+
+module.exports = system;
@@ -16,7 +16,7 @@
module.exports = {
id: "webworks.tablet",
- version: "BlackBerry PlayBook OS",
+ version: "2.0.0",
name: "WebWorks-TabletOS",
persistencePrefix: "rim-tablet-",
@@ -86,7 +86,7 @@ module.exports = {
feature: "blackberry.identity"
},
system: {
- path: "webworks.core/2.0.0/client/system",
+ path: "webworks.tablet/2.0.0/client/system",
children: {
event: {
path: "webworks.tablet/2.0.0/client/systemEvent"

0 comments on commit 102c798

Please sign in to comment.