uglyog/clientside-haml-js — Issue #20: Uncaught TypeError: Object [object Object] has no method 'rtrim'
Author: tacomanator
Created: 2012-01-16 09:10:21+00:00
State: open

Getting this error when trying to compile the following template:

Using this call:

haml.compileHaml({sourceId: 'simple'})

Here is the trace:

Uncaught TypeError: Object [object Object] has no method 'rtrim'
a.skipToEOLorEOF haml.min.js:6
h.haml._templateLine haml.min.js:6
h.haml._compileHamlToJs haml.min.js:6
h.haml.compileHaml haml.min.js:6
loadComments
(anonymous function)
f.Callbacks.n jquery-1.7.1.min.js:2
f.Callbacks.o.add jquery-1.7.1.min.js:2
e.fn.e.ready jquery-1.7.1.min.js:2
e.fn.e.init jquery-1.7.1.min.js:2
e jquery-1.7.1.min.js:2
(anonymous function)
require../browser.CoffeeScript.run coffee-script.js:8
require../browser.window.undefined.CoffeeScript.load.c.onreadystatechange coffee-script.js:8