On Wednesday, October 10, 2012 9:39:01 AM UTC-7, Rob Loach wrote:
> Just ran into this:
> https://github.com/VIISON/RequireCSS
> On Wednesday, September 26, 2012 12:31:03 PM UTC-4, Caolan McMahon wrote:
>> That would be useful in some circumstances, but often the order of
>> included CSS files matters. Developers should be able to override and
>> order CSS files easily, without the package including them
>> automatically.
>> I'd be interested in hearing other peoples thoughts on this though,
>> because I can see some circumstances where it could make sense to
>> include the CSS (date select widget perhaps?).
>> Caolan
>> On Wed, Sep 26, 2012 at 07:32:04AM -0700, Rob Loach wrote:
>> > JamJS and RequireJS are fantastic as script loaders to handle
>> JavaScript.
>> > It might be nice if JamJS also told RequireJS to load the library's
>> > associated CSS files?
>> > http://requirejs.org/docs/faq-advanced.html#css
>> > {
>> > "name": "myproject",
>> > "version": "0.0.1",
>> > "description": "An example Node.js project",
>> > "dependencies": {
>> > // NPM dependencies go here...
>> > "async": "0.1.22"
>> > },
>> > "jam": {
>> > "dependencies": {
>> > // Jam dependencies go here...
>> > "jquery": "1.7.1",
>> > "underscore": null
>> > },
>> > "css": [
>> > "example.css",
>> > "myothercssfile.css"
>> > ],
>> > "main": "example.js"
>> > }
>> > }
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "jamjs" group.
>> > To post to this group, send an email to ja...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> jamjs+un...@googlegroups.com.
>> > To view this discussion on the web, visit
>> https://groups.google.com/d/msg/jamjs/-/v_kax79KQzIJ.
>> > For more options, visit https://groups.google.com/groups/opt_out.