Skip to content

Instantly share code, notes, and snippets.

View rktjmp's full-sized avatar

rktjmp

View GitHub Profile
local function get_range(buf, start, stop)
assert(buf, "get-range missing buf arg")
assert(start, "get-range missing start arg")
// Make our app module, its easier to do this in raw javascript
// and then put the rest of our app content (controllers etc)
// in their own coffeescript files.
//
// Your ng-app should include this module name, eg: <html ng-app="TodoApp">
angular.module('TodoApp', []);