Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Should JamJS load CSS?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nebojsa Sabovic  
View profile  
 More options Oct 18 2012, 4:29 pm
From: Nebojsa Sabovic <nsabo...@gmail.com>
Date: Thu, 18 Oct 2012 13:29:27 -0700 (PDT)
Local: Thurs, Oct 18 2012 4:29 pm
Subject: Re: Should JamJS load CSS?

I've been using requirecss with Jam and it works great for injecting css.

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.