sferik/rails_admin — Issue #964: ProgramError caused by comment in ui.js.coffee
Author: TBurk83
Created: 2012-02-06 22:36:23+00:00
State: open

## Error:

>ExecJS::ProgramError in Rails_admin/main#dashboard

>Showing /home/trevor/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rails_admin-561375184e0c/app/views/layouts/rails_admin/application.html.haml where line #9 raised:

>Parse error on line 31: Unexpected 'IDENTIFIER'
>(in /home/trevor/.rvm/gems/ruby-1.9.2-p290/bundler/gems/rails_admin-561375184e0c/app/assets/javascripts/rails_admin/ui.js.coffee)"

## Caused by:
```javascript
>// bootstrap init
>$("[rel=tooltip]").tooltip(delay: { show: 500, hide: 100 });
```

## Change it to:
```javascript
>#bootstrap init
>$("[rel=tooltip]").tooltip(delay: { show: 500, hide: 100 });
```

Second to last line in ui.js.coffee, just change the slashes in the comment to a pound sign.