Fixed faulty theme handling.
Fixed faulty base_path handling.
Forgot to remove a debugger statement.
Context dependent section functions for Muastache.js need to have the form () -> (ctx) -> result, instead of (ctx) -> result in Mustache.rb. This is because in Mustache.rb section functions with arity 0 and 1 are treated in different ways. In javascript there is no way to know the arity of a function so the context and non context dependent section functions need to be distinguished in another way.
Collection view for data with tests. I needed to implement it with an asyncronous call in the constructor. To be able to know if it is setup I introduced a member 'setup_promise' that contains a promise for that the setup is finished. This is used in the master_view for setting up collection views with a setup_promise member.
Javascript collection view with tests. Follow 2rc from ruhoh.rb but it seem like it lacks the 'javascripts.all' functionality.