jordanwallwork.co.uk
Inline.js – Inline Testing with Javascript « Jordan Wallwork
http://jordanwallwork.co.uk/2013/11/inline-js-inline-testing-with-javascript
Web / Software Developer. Skip to primary content. Skip to secondary content. Inline.js – Inline Testing with Javascript. November 10, 2013. I just read an article by Sergi Mansilla, Extending JavaScript with inline unit tests. Where he implements a pretty neat inline testing syntax using sweet.js. Which allows writing code like this:. Function square(n) { return n * n; } where { square(2) is 4 square(3) is 5 }. But it’s pretty obvious how more could be added). 8211; To use it with functions written like.
mr-leon.com
FluentConf 2014 - Day Two
http://mr-leon.com/2014/03/12/fluentconf-2014---day-two
Mr Leon, LLC. FluentConf 2014 - Day Two. March 12, 2014. Some things I got out of day two at FluentConf. All of the keynote videos are up on in O’Reilly’s channel on YouTube. Highlights from the keynote speeches. JavaScript: Taking both the High and the Low Roads. Mozilla) - Demo of Unreal 4 engine in the browser. No plugins, ES6 and ES7 updates. Virtual Machines, JavaScript and Assembler. There’s a lot one can do with border-radius. Highlights from the sessions. Leveling up in Angular. Informal get toge...
sergimansilla.com
Extending JavaScript with inline unit tests
http://sergimansilla.com/blog/extending-js-inline-unit-tests
Extending JavaScript with inline unit tests. I’ve been checking out Pyret. The new language from the same guys that made Racket. Even if it is designed to be for education, it has a syntax I love and some really cool features, like the possibility of adding in-line unit tests to your functions. This feature in particular looks like this:. Fun square(n): n * n where: square(2) is 4 square(4) is 16 square(8) is 64 1 1 end. Among other improvements, we can now rewrite reserved keywords in our macros! Condit...
scm.io
scalable minds
https://scm.io/blog/hack/2014/07/customizing-coffee-script
July 10, 2014 • hack. We have build some fairly large single-page apps using CoffeeScript. Naturally, we wanted to use some kind of module / dependency system to keep our code organized and not go crazy. We had decided on using RequireJS. A simple module looks like this:. Console.log( "Awesome class is cleared for take-off.". Define jquery : $ lodash : ./base class : BaseClass # #. Console.log( "Awesome class is cleared for take-off.". If you have heard about compiler theory, you’ll probably know that a ...
functionn.blogspot.com
September 2012 - Functionn
http://functionn.blogspot.com/2012_09_01_archive.html
Daily Emailed Fresh Resources? Subscribe By Email (265 ). Enter Your Email Address. Sep 30, 2012. Freetile - A Dynamic Layout Plugin For jQuery. Is a plugin for jQuery that enables the organization of webpage content in an efficient, dynamic and responsive layout. It can be applied to a container element and it will attempt to arrange it's children in a layout that makes optimal use of screen space, by packing them in a tight arrangement. Additionally, Freetile has the following key features:. A smart an...
esnext.github.io
Introducing esnext
http://esnext.github.io/2014/08/01/introducing-esnext
Aug 1, 2014 Brian Donovan. Of course, by that time people had started transpiling existing languages. Or even entirely new languages such as CoffeeScript. Moving the Language Forward. What we want is to give developers the ability to try out the proposed features in upcoming versions of JavaScript in their own applications, libraries, etc. Once there is real-world usage we will better understand how the features. Open Source and Modular. Esnext is built in the open on GitHub. S harmony branch to parse ES...
github.com
List of languages that compile to JS · jashkenas/coffeescript Wiki · GitHub
https://github.com/jashkenas/coffeescript/wiki/List-of-languages-that-compile-to-JS
List of languages that compile to JS. Graham McNeill edited this page. Aug 8, 2016. Middot; 535 revisions. HowTo] Compiling and Setting Up Build Tools. Howto] Hacking on the CoffeeScript Compiler. List of languages that compile to JS. Clone this wiki locally. CoffeeScript Family (& Friends). CoffeeScript II: The Wrath of Khan. Rewrite of the CS compiler. Family (share genes with CoffeeScript). Is a fork of Coco that is much more compatible with CoffeeScript, more functional, and with more features. The W...
nullzzz.blogspot.com
null: Mocha on Monads
http://nullzzz.blogspot.com/2013/12/mocha-on-monads.html
Disclaimer: This article can be classified as a Monad Tutorial and therefore considered harmful. Proceed at own risk. The challenge in testing a browser application with Mocha. Is that the application behaves asynchronously because of things like page transitions and AJAX. This means that the test code often has to wait for some condition before continuing. And, as we all know, Javascript doesn't have threads and thus we cannot block when we wait. This means we need to use callbacks. Shouldn't be too har...