On 4 déc, 11:45, Komal <[email protected]> wrote: > Hi, > > I am trying to invoke a method from prettify.js the method looks like > this.... > my jsni method:- > > public native String getPrettifiedOutput(String result) > /*-{ > var prettyPrintingJob = { > sourceCodeHtml: result, > langExtension: '.java', > }; > $wnd.applyDecorator(prettyPrintingJob);
applyDecorator is "private" in prettify.js, only PR_SHOULD_USE_CONTINUATION, PR_normalizedHtml, prettyPrintOne, prettyPrint and PR are public (well, and _pr_isIE6 too, but it's kind of an "implementation detail") -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
