On Sat, Nov 17, 2012 at 11:06 PM, Ivan Habunek <[email protected]> wrote:
> On 17 November 2012 19:13, Gary Gregory <[email protected]> wrote:
>> Can we have a wee bit of developer docs someplace that talks about why we
>> have our own copy of Bootstrap and JQuery instead of referring to them on
>> the interwebs?
>
> Well, I guess you could pull jquery from google [1], but I don't know
> of any site hosting bootstrap. Also I think it's better not to depend
> on others for the libs we need to display the site correctly.

There are some CDNs hosting Bootstrap:
http://www.bootstrapcdn.com/

There are also CDNs for jQuery.

Usually CDNs work well, but I agree: we should use local versions
because if somebody downloads our docs and does NOT have a connection
to the internet it will be pretty ugly.


> Maybe we could write a couple of lines in the wiki?
>
>> Also, if we tweak these, how, and what would be the process for updating to
>> a new version of the various .js files.
>
> In my opinion, jquery and bootstrap files should not be modified
> themselves. All required modifications are done in site.css and
> site.js (which are included after the libs so they override them).
> When you want to upgrade a lib, you just overwrite the existing one
> with the new version, leaving the file name the same. No need to
> modify the template. Afterwards you test to see if any modification is
> needed in site.css/js. That's how I do it for log4php anyway.

I agree, but this is also good to know:
http://twitter.github.com/bootstrap/customize.html#variables



>
> Regards,
> Ivan
>
> [1] https://developers.google.com/speed/libraries/devguide
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



--
http://www.grobmeier.de
https://www.timeandbill.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to