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

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:

1 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:

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

Status

Assignee

Unassigned

Reporter

Sean Flanigan

Labels

Tested Version/s

None

Components

Fix versions

Priority

unspecified