These are chat archives for codefellows/sea-b15-javascript

14th
Aug 2014
Nicholas Harberg
@harberg
Aug 14 2014 20:46

.htaccess files are a pain in the ass and despite what the internet says, don't use jQuery notation when setting el in your view.

Thats all.

Andy Ernst
@AndyCErnst
Aug 14 2014 20:50
I am confuse
Nicholas Harberg
@harberg
Aug 14 2014 20:52
@KuroFluff .htaccess files are used on apache severs. el was in reference to the backbone property.
Andy Ernst
@AndyCErnst
Aug 14 2014 21:08
jQuery notation meaning $('#puppies').append('cuteness')? What would you say is good/bad practice in using backbone's el?
Nicholas Harberg
@harberg
Aug 14 2014 21:12
module.exports = Backbone.View.extend({
    el: $('#content'),
`

vs

   el: '#content',
``

second version is preferable

Andy Ernst
@AndyCErnst
Aug 14 2014 21:34
Ah, so you don't need the jQuery wrapper.