View Single Post
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#96
Ok, this is my current progress on this:
I'm in the g11n stuff. it doesn't seem to read is12HourDefault. So I read on some palm.com forums that it needs window.PalmSystem.

I copied builtin-preamble.js & dependency-loader.js and load them. unfortunately I'm getting this one: (Chrome/Chromium is needed - Firefox is throwing errors because of local files)

Code:
Uncaught SyntaxError: Unexpected token %           /usr/palm/applications/com.palm.app.enyo-findapps/enyo/builtin-preamble.js:92
It's throwing error on:
Code:
enyo.setPrototype = function(ctor, proto) {
	%FunctionSetPrototype(ctor, proto);
};

The whole file: http://code.google.com/codesearch#S1...in-preamble.js

Does the percent sign mean something in javascript? How can this be fixed?

Current main.html attached
Attached Files
File Type: gz main.html.gz (676 Bytes, 133 views)
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-02-21 at 19:23.
 

The Following User Says Thank You to marmistrz For This Useful Post: