tag:blogger.com,1999:blog-3728237926407785171.comments2016-12-16T03:37:20.367-07:00CoffeeScript LoveChris Smithhttps://plus.google.com/117231929130530196454[email protected]Blogger32125tag:blogger.com,1999:blog-3728237926407785171.post-46786940951077013272016-02-07T21:16:47.992-07:002016-02-07T21:16:47.992-07:00This is what I was looking for, thanks :DThis is what I was looking for, thanks :DRyo Yamadahttp://www.blogger.com/profile/11184065443495363538[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-30592546316397732672015-09-02T04:49:06.089-06:002015-09-02T04:49:06.089-06:00Hello Admin, I have been training students on Angu...Hello Admin, I have been training students on AngularJS for past 6 months, and at times, I have used your blog as reference for the class training and also for my personal project development. It has been so much useful. Thank you, keep writing more:)<br />Shashaa<br /><a href="http://www.angularjstraining.in/" rel="nofollow">AngularJS course in Chennai</a><br />Shashaa Tirupatihttp://www.blogger.com/profile/11926072654511430884[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-65888280862669200372013-12-15T13:31:29.310-07:002013-12-15T13:31:29.310-07:00Would you mind mentioning backbone-on-rails which ...Would you mind mentioning backbone-on-rails which is the version Thoughtbot suggests to use in their e-book.nate techhttp://www.blogger.com/profile/05099935870911450284[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-64304586978775791912013-08-29T16:02:17.045-06:002013-08-29T16:02:17.045-06:00I&#39;m curious on what you think about Brunch. [N...I&#39;m curious on what you think about <a href="http://brunch.io" rel="nofollow">Brunch</a>. [Note that I&#39;ve also created an <a href="https://github.com/jmafc/angular-phonecat-brunch" rel="nofollow">AngularJS tutorial with CoffeeScript</a> (and Brunch, Jade and Stylus)].Joehttp://www.blogger.com/profile/18006904787527262772[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-27636509216283177602013-04-11T03:58:30.426-06:002013-04-11T03:58:30.426-06:00Hey, it was great tutorial about coffeescript.I wa...Hey, it was great tutorial about coffeescript.I was great fan of Coffeescript and this blog help me alot. Thank You. amritdeepdhunganahttp://www.blogger.com/profile/14903991695113961338[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-1160709890378281762013-03-21T13:45:17.657-06:002013-03-21T13:45:17.657-06:00Hi guys-- is anyone in here interested in a full t...Hi guys-- is anyone in here interested in a full time Sr. Javascript Engineering opportunity in San Francisco for Tagged? Please feel free to send your resumes to [email protected]judith breukerhttp://www.blogger.com/profile/14624005832531220861[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-28035669386837311002013-02-27T01:48:29.898-07:002013-02-27T01:48:29.898-07:00translation english to russian Good information he...<a href="http://languageprestige.com" rel="nofollow">translation english to russian</a> Good information here. I will post these information to my facebook page. It is really very informative for others.Alex Bandithttp://www.blogger.com/profile/02657542837465605348[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-82237281715908956822012-11-16T11:08:02.772-07:002012-11-16T11:08:02.772-07:00@Anonymous (2012-03-30): Sheldon&#39;s answer wor...@Anonymous (2012-03-30):<br /><br />Sheldon&#39;s answer worked for me. So did this:<br /><br /> mocha array-test.coffee -r coffee-script -r should<br /><br />Unknownhttp://www.blogger.com/profile/06107197015989218339[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-85900947014091601902012-10-26T10:05:38.777-06:002012-10-26T10:05:38.777-06:00Not really relevant to the 1.4 release, but FWIW: ...Not really relevant to the 1.4 release, but FWIW:<br /><br />http://www.unicode.org/faq/utf_bom.html#bom5<br /><br />http://www.unicode.org/consortium/memblogo.htmlJames Manninghttp://www.blogger.com/profile/11430624980281560756[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-13483587309029942542012-09-30T09:27:47.353-06:002012-09-30T09:27:47.353-06:00I would certainly like to see more Ember examples ...I would certainly like to see more Ember examples and tutorials, particularly within the context of rails (ember-rails). The docs are fairly good, as far as they go, but I need a RailsCast or some equivalent to get my head around Ember.js.explainerhttp://www.blogger.com/profile/13553449319530479526[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-29845850107901143352012-09-01T02:23:42.191-06:002012-09-01T02:23:42.191-06:00I&#39;m getting output equivalent to Anonymous, ab...I&#39;m getting output equivalent to Anonymous, above.<br /><br />CoffeeScript 1.2.0, mocha version 1.0.3, should 0.6.3, npm 1.1.2<br /><br />Jeffs-Work-iMac:dojo_poc jeffdickey$ mocha array-test.coffee --require should<br /><br />/Users/jeffdickey/src/rails/dojo_poc/array-test.coffee:2<br />describe &#39;Array&#39;, -&gt;<br /> ^^^^^^^<br /><br />node.js:201<br /> throw e; // process.nextTick error, or &#39;error&#39; event on first tick<br /> ^<br />SyntaxError: Unexpected string<br /> at Module._compile (module.js:432:25)<br /> at Object..js (module.js:462:10)<br /> at Module.load (module.js:351:31)<br /> at Function._load (module.js:310:12)<br /> at Module.require (module.js:357:17)<br /> at require (module.js:373:17)<br /> at /usr/local/lib/node_modules/mocha/bin/_mocha:273:27<br /> at Array.forEach (native)<br /> at load (/usr/local/lib/node_modules/mocha/bin/_mocha:270:9)<br /> at Object. (/usr/local/lib/node_modules/mocha/bin/_mocha:261:1)<br /> at Module._compile (module.js:444:26)<br /> at Object..js (module.js:462:10)<br /> at Module.load (module.js:351:31)<br /> at Function._load (module.js:310:12)<br /> at Array.0 (module.js:482:10)<br /> at EventEmitter._tickCallback (node.js:192:40)<br /><br />And it sucks with a <em>very</em> hard vacuum that any HTML to aid formatting is disallowed; no TT, PRE or DIV allowed. There&#39;s a fine line between being functional and being paranoid; this isn&#39;t even in the same timezone. Jeff Dickeyhttp://www.blogger.com/profile/12760673999356987827[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-14426207704565749172012-07-12T14:38:57.512-06:002012-07-12T14:38:57.512-06:00Has anyone used these with requirejs or requirejs-...Has anyone used these with requirejs or requirejs-rails?billmaghttp://www.blogger.com/profile/07857400127575953672[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-15544384903579659702012-06-22T04:05:59.829-06:002012-06-22T04:05:59.829-06:00You said my words.You said my words.wangyghttp://www.blogger.com/profile/10446137944684461649[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-28991833249479546372012-05-27T14:40:34.249-06:002012-05-27T14:40:34.249-06:00Mocha doesn&#39;t automatically handle coffeescrip...Mocha doesn&#39;t automatically handle coffeescript out of the box any more. So now you need to do this:<br /><br />mocha array-test.coffee --require should --compilers coffee:coffee-scriptSheldon Hearnhttp://starjuice.net/[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-36565875339682349372012-05-24T22:51:57.428-06:002012-05-24T22:51:57.428-06:00I agree. It was a mistake to write this entire pos...I agree. It was a mistake to write this entire post focused on Mocha, without mentioning some alternatives. The best I know of are Jasminerice, which integrates the popular Jasmine framework with the Asset Pipeline, and the venerable QUnit (no Rails integration that I know of). Personally I much prefer Mocha&#39;s approach, but please consider these as well.<br /><br />https://github.com/bradphelan/jasminerice@quartzmohttp://www.blogger.com/profile/15222755899473111565[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-41872891308131909392012-05-24T18:55:54.619-06:002012-05-24T18:55:54.619-06:00I think you also should have mentioned jasminerice...I think you also should have mentioned jasminerice.Dmytrii Nagirniakhttp://www.blogger.com/profile/00858741986129879076[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-48724670085995158382012-05-10T22:37:57.922-06:002012-05-10T22:37:57.922-06:00Installing `mocha` and `should` might not go so ea...Installing `mocha` and `should` might not go so easily for you; if Jade breaks, see <a href="https://github.com/isaacs/npm/issues/2191#issuecomment-5643539" rel="nofollow">this comment</a> I made on an `npm` issue, where I documented the process that worked for me.Jeff Dickeyhttp://www.blogger.com/profile/12760673999356987827[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-56387680012780154592012-05-09T10:12:35.694-06:002012-05-09T10:12:35.694-06:00Coffeescript is written in cofeescript, so you can...Coffeescript is written in cofeescript, so you can also browse the coffeescript source itself: https://github.com/jashkenas/coffee-scriptTad Thorleyhttp://tadthorley.com[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-16861925362451604322012-04-09T04:12:29.544-06:002012-04-09T04:12:29.544-06:00mocha array-test.coffee -r coffee-script This wor...mocha array-test.coffee -r coffee-script<br /><br />This worked form me:)tom.koptelhttp://www.blogger.com/profile/02682743769889498551[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-71867598146935957062012-04-01T06:28:14.614-06:002012-04-01T06:28:14.614-06:00make sure you&#39;ve got coffee-script as a depend...make sure you&#39;ve got coffee-script as a dependency (a devDependency will do)...Anonymous[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-56788624024831785522012-03-30T11:43:51.954-06:002012-03-30T11:43:51.954-06:00Which version of Mocha do you have? Do you have Co...Which version of Mocha do you have? Do you have CoffeeScript?<br /><br />I&#39;ll get the latest version today and try for myself, I guess this might be a regression in Mocha though it doesn&#39;t seem likely. You might open a Mocha issue on GitHub.@quartzmohttp://www.blogger.com/profile/15222755899473111565[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-43002001285979045072012-03-30T01:39:07.974-06:002012-03-30T01:39:07.974-06:00Running into problems trying to test with coffeesc...Running into problems trying to test with coffeescript. Running tests on Javascript files succeeds though. Get the following on attempting to run mocha with coffeescript files.<br /><br />SyntaxError: Unexpected string<br /> at Module._compile (module.js:429:25)<br /> at Object..js (module.js:459:10)<br /> at Module.load (module.js:348:31)<br /> at Function._load (module.js:308:12)<br /> at Module.require (module.js:354:17)<br /> at require (module.js:370:17)<br /> at /home/sameet/testcode/coffeepress/node_modules/mocha/bin/_mocha:261:27<br /> at Array.forEach (native)<br /> at load (/home/sameet/testcode/coffeepress/node_modules/mocha/bin/_mocha:258:9)<br /> at Object. (/home/sameet/testcode/coffeepress/node_modules/mocha/bin/_mocha:249:1)<br /> at Module._compile (module.js:441:26)<br /> at Object..js (module.js:459:10)<br /> at Module.load (module.js:348:31)<br /> at Function._load (module.js:308:12)<br /> at Array.0 (module.js:479:10)<br /> at EventEmitter._tickCallback (node.js:192:40)<br />make: *** [test] Error 1Anonymous[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-71832702562612916692012-02-21T14:42:33.013-07:002012-02-21T14:42:33.013-07:00Just a quick note -- the JST var won&#39;t be defi...Just a quick note -- the JST var won&#39;t be defined (you&#39;ll get a &quot;Uncaught ReferenceError: JST is not defined&quot;) unless you &#39;require&#39; your templates like any other javascript file (eg, in application.js, //=require todos/views/todo).<br /><br />This includes the compiled eco template in the rest of your assets, defining JST[&#39;todo&#39;]. (Somehow I missed this -- I guess I thought it would just be magic?)<br /><br />Thanks for the writeup, helped a lot.David Rhttp://www.blogger.com/profile/13123738759527388942[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-72220464884326030902012-02-09T16:04:00.143-07:002012-02-09T16:04:00.143-07:00I agree with you.I agree with you.Eric Berryhttp://www.blogger.com/profile/09834776098178088748[email protected]tag:blogger.com,1999:blog-3728237926407785171.post-783602886268232312012-02-04T23:47:50.713-07:002012-02-04T23:47:50.713-07:00I&#39;m so torn when it comes to these two framewo...I&#39;m so torn when it comes to these two frameworks. I really like the philosophy behind ember, but the lack of adoption and the lacking documentation and examples are really off-putting.Anonymous[email protected]