google-code-export / wro4j

Automatically exported from code.google.com/p/wro4j
1 stars 1 forks source link

Create webjar resource locator #642

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Create an implementation of UriLocator called WebjarUriLocator responsible for 
loading webjar resources.

References:
- http://www.webjars.org/
- Webjar-locator project: https://github.com/webjars/webjars-locator

Original issue reported on code.google.com by alex.obj...@gmail.com on 4 Jan 2013 at 9:02

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 9 Jan 2013 at 6:29

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 3 Mar 2013 at 9:41

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 3 Mar 2013 at 9:41

GoogleCodeExporter commented 9 years ago
Fixed in 1.6.x.

The webjar locator is available in extensions module.
Webjar resources can be referenced using the following prefix: "webjar:". 
Example:
<js>webjar:jquery.js</js>

Original comment by alex.obj...@gmail.com on 18 May 2013 at 3:48

GoogleCodeExporter commented 9 years ago
Alex,

How do we use this mechanism to update the version of jshint used by wro4j 
without waiting for you to publish a new release?

Original comment by cow...@bbs.darktech.org on 30 May 2013 at 4:16

GoogleCodeExporter commented 9 years ago
There is a problem with newer versions of jshint, these are not built as a 
single js resource, but depends on other external libraries which are loaded 
using require.js. As result, untegrating it with Rhino is not straightforward. 

Original comment by alex.obj...@gmail.com on 30 May 2013 at 6:08

GoogleCodeExporter commented 9 years ago
Alex,

As explained at 
https://github.com/webjars/jshint/issues/1#issuecomment-18699024 I think we can 
bundle the latest version of jshint without a dependency on require.

Original comment by cow...@bbs.darktech.org on 30 May 2013 at 6:33

GoogleCodeExporter commented 9 years ago
Could you create a sample jshint bundle as a proof of concept? Let see how
it works...

Original comment by alex.obj...@gmail.com on 30 May 2013 at 6:38

GoogleCodeExporter commented 9 years ago
Alex,

Please try https://github.com/webjars/jshint/pull/2

Original comment by cow...@bbs.darktech.org on 30 May 2013 at 7:19

GoogleCodeExporter commented 9 years ago
Alex,

Now that jshint 2.1.3 is on Maven Central, can you please let me know when I 
can test a wro4j version that uses it? Is there a separate issue used to track 
this update since this issue is already closed?

Original comment by cow...@bbs.darktech.org on 4 Jun 2013 at 6:43

GoogleCodeExporter commented 9 years ago
The issue648 fixes jshint integration with webjar. You can checkout latest 
changes from branch 1.6.x

Original comment by alex.obj...@gmail.com on 4 Jun 2013 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 8 Jun 2013 at 9:42