Stavnes: Unopoo: the idea most people ***ociate with OOP and which gives rise to all of those design patterns is inheritance, which is a stupid idea
Wingler: Js var condOne = new Date”2015-09-04T16:52:00″.getTime = new Date.getTime ; condOne;
Gerrero: FffuuuL: boolean false
Yant: It’s really unfortunate “design pattern” came to mean “C++ idiom” :-
Yant: Here is a very very good essay on design patterns: http://laputan.org/mud/
Pio: Js var condOne = new Date”2015-09-04T16:52:00″.getTime = new Date.getTime ; condOne, new Date;
Gerrero: FffuuuL: object false, object Fri Sep 04 2015 10:56:15 GMT-0400 EDT
Petrucco: I think OOP did make code easy-maintainable and reusable
Stavnes: Dash: and “Java idioms” even more unfortunately
Secrest: Stavnes: but why does it work in Firefox….
Ibale: It works just fine in Firefox
Stavnes: FffuuuL: obviously it depends what timezone those machines are in
Maruscak: S not obvious to me how the result can change by using a different browser
Stavnes: You’re parsing a Date string that doesn’t include a time zone
Plaskett: This machine. Firefox runs the script just fine, if i test it in chrome it fails because it adds 2 hours
Stavnes: You shouldn’t even expect that to work
Stavnes: Without a time zone that’s completely meaningless
Weisenfluh: Js var a = new Date”2015-09-04T16:52:00 GMT+200″; var b = new Date; b, a;
Gerrero: FffuuuL: object object Fri Sep 04 2015 11:04:44 GMT-0400 EDT, object Invalid Date
Aldrege: How do i include a timezone?
Stavnes: Unopoo: yes that was the theory, and the claim that advocates make for it
Stavnes: FffuuuL: exactly like you see in the output when a date is printed as a string
Gerrero: Stavnes: string ‘Fri Sep 04 2015 11:06:08 GMT-0400 EDT’
Doi: Js new Date’Fri Sep 04 2015 11:06:08 GMT-0400 EDT’;
Gerrero: FffuuuL: object Fri Sep 04 2015 11:06:08 GMT-0400 EDT
Eben: Anyone uses jquery? Just wanted to confirm something about $.ajax
Mahmud: Js var a = new Date”2015-09-04T16:52:00Z+02:00″; var b = new Date; b, a;
Gerrero: FffuuuL: object object Fri Sep 04 2015 11:12:03 GMT-0400 EDT, object Invalid Date
Debrosse: Js var a = new Date”2015-09-04T16:52:00Z”; var b = new Date; b, a;
Gerrero: FffuuuL: object object Fri Sep 04 2015 11:12:35 GMT-0400 EDT, object Fri Sep 04 2015 12:52:00 GMT-0400 EDT
Tautuiaki: Js var a = new Date”2015-09-04T16:52:00+02:00″; var b = new Date; b, a;
Gerrero: FffuuuL: object object Fri Sep 04 2015 11:12:56 GMT-0400 EDT, object Fri Sep 04 2015 10:52:00 GMT-0400 EDT
Bendis: That format works aswell
Grollimund: Z for UTC, + or – followed by hh:mm
Barbara: What’s the easist way to turn an array of colors into an array of length N, where N might be longer and require wrapping or shorter and require splitting?
Gerrero: Zumba_ad_: Don’t ask to ask, nor if anyone is here or alive or uses something. Just ask your question. http://www.mikeash.com/getting_answers.html http://www.catb.org/esr/faqs/smart-questions.html
Volland: I’m sorry, I already got my answers
Stavnes: Zumba_ad_: but you might be better in the #jquery channel
Dunne: I forgot to go back here
Raebel: Hello, I wanted to know If someone could explain how to use js to make url redirect to a popup window, i tried using this but its not creating the pop up and I’m fairly new to js. Link to code — http://pastebin.com/HRidxqyZ
Leandro: Going to be interesting to see if WebStorm totally collapses, or if they’ve trapped enough people to survive
Leandro: Glad I never jumped on that train at least
Lamora: What’s the proper verb to use when we are doing some.object.prototype.fetch? SHould i say, prototyping?