springuser2014 / wro4j

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

Build wro model with JSON #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The wro model createion should have alternative DSL (java fluent interface, 
javaFX like description, etc).

Original issue reported on code.google.com by alex.obj...@gmail.com on 3 Jun 2010 at 12:54

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 3 Jun 2010 at 12:54

GoogleCodeExporter commented 9 years ago
Create JsonModelFactory: allows build wro model from a json.

Original comment by alex.obj...@gmail.com on 13 Mar 2011 at 2:18

GoogleCodeExporter commented 9 years ago
A model built with json could look like this:

{
  groups: [{
    name: "g1",
    resources: [{
      type: "JS",
      uri: "/static/app.js",
      minimize: true
    }, {
      type: "CSS",
      uri: "/static/app.css",
      minimize: true
    }]
  }, {
    name: "g2",
    resources: [{
      type: "JS",
      uri: "classpath:com/application/static/app.js",
      minimize: true
    }, {
      type: "CSS",
      uri: "http://www.site.com/static/app.css",
      minimize: true
    }]
  }]
}

Original comment by alex.obj...@gmail.com on 14 Mar 2011 at 8:58

GoogleCodeExporter commented 9 years ago
Available in branches: 1.3.x & 1.4.x (on github)

Original comment by alex.obj...@gmail.com on 19 Mar 2011 at 11:27

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 19 Mar 2011 at 11:28

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 30 Mar 2011 at 7:54