Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jupiterjs/jquerymx
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbmeyer committed Jan 9, 2012
2 parents ddef98a + 09888dc commit 0309ce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/view.js
Expand Up @@ -539,7 +539,7 @@ steal("jquery").then(function( $ ) {
if ( window.steal ) { if ( window.steal ) {
steal.type(info.suffix + " view js", function( options, success, error ) { steal.type(info.suffix + " view js", function( options, success, error ) {
var type = $view.types["." + options.type], var type = $view.types["." + options.type],
id = toId(options.rootSrc); id = toId(options.rootSrc+'');


options.text = type.script(id, options.text) options.text = type.script(id, options.text)
success(); success();
Expand Down Expand Up @@ -580,7 +580,7 @@ steal("jquery").then(function( $ ) {
if ( window.steal ) { if ( window.steal ) {
steal.type("view js", function( options, success, error ) { steal.type("view js", function( options, success, error ) {
var type = $view.types["." + options.type], var type = $view.types["." + options.type],
id = toId(options.rootSrc); id = toId(options.rootSrc+'');


options.text = "steal('" + (type.plugin || "jquery/view/" + options.type) + "').then(function($){" + "$.View.preload('" + id + "'," + options.text + ");\n})"; options.text = "steal('" + (type.plugin || "jquery/view/" + options.type) + "').then(function($){" + "$.View.preload('" + id + "'," + options.text + ");\n})";
success(); success();
Expand Down

0 comments on commit 0309ce1

Please sign in to comment.