Uploaded image for project: 'Zanata'
  1. ZNTA-2190

Replace .js in gwt-editor,zanata-war with webjars

    Details

    • Tested Version/s:
      None

      Description

      Instead of embedding third-party .js files in our source tree (where they are invisible to tools like versioneye and maven-dependency-plugin), we should replace them with references to the corresponding webjars: http://www.webjars.org/

      • codemirror
      • diff-match-patch
      • JavaScript-Templates
      • jQuery-File-Upload
      • crossroads
      • jquery-typing
      • js-signals

      (Found with this:

      ls {gwt-editor,zanata-war}/src/main/**/*.js
      

      )

      It should be easy to add new webjars if required.

      We could also replace jsf-ajax-viewstate-fix.js with a bit of omnifaces:

      <h:outputScript library="omnifaces" name="fixviewstate.js" target="head" />
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sflanigan Sean Flanigan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: