jawr
  1. jawr
  2. JAWR-201

Jawr 3.3.3 plugin for Grails 1.3.7 has problem using yuiCompressor 2.4.2 or 2.4.6 as bundle postprocessor

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Incomplete
    • Affects Version/s: 3.3.3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Grails 1.3.7 running on Spring

      Description

      When using yuiCompressor 2.4.2 or 2.4.6 as our bundle postprocessor, we notice that the character sequence "get" is inserted after certain closing curly brace "}" characters. It seems that this occurs after closing curly braces followed by one or more line breaks. We are using the Jawr 3.3.3 plugin for Grails 1.3.7. We noticed this only for Javascript files (we didn't try this on css files). The issue occurs if we set jawr.js.bundle.factory.bundlepostprocessors to 'YUI' or 'YUIobf'. If we use the default postprocessor (JSMin), we don't see the issue. When we compress/minify the JS files independently using yuiCompressor, we don't see the issue. Our guess is that something is messing with the tokenizer.

        Activity

        Hide
        icefox added a comment -

        Hi leoranks,

        Thanks for reporting the issue.
        Could you please provide me a JS file, which cause this issue?
        It will be easier for me to track down what's wrong, and to fix it.

        Cheers,

        Show
        icefox added a comment - Hi leoranks, Thanks for reporting the issue. Could you please provide me a JS file, which cause this issue? It will be easier for me to track down what's wrong, and to fix it. Cheers,
        Hide
        icefox added a comment -

        Hi,

        Could you provide me the JS file otherwise I'll not be able to find out where is the issue?

        If not, I'll have to close this issue.

        Cheers,

        Show
        icefox added a comment - Hi, Could you provide me the JS file otherwise I'll not be able to find out where is the issue? If not, I'll have to close this issue. Cheers,

          People

          • Assignee:
            icefox
            Reporter:
            leoranks
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: