Permalink
Browse files

Merge branch 'master' of github.com:jupiterjs/jquerymx

  • Loading branch information...
2 parents ddef98a + 09888dc commit 0309ce19daf38370362abcbfdbb609da5520ea8c @justinbmeyer justinbmeyer committed Jan 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 view/view.js
View
@@ -539,7 +539,7 @@ steal("jquery").then(function( $ ) {
if ( window.steal ) {
steal.type(info.suffix + " view js", function( options, success, error ) {
var type = $view.types["." + options.type],
- id = toId(options.rootSrc);
+ id = toId(options.rootSrc+'');
options.text = type.script(id, options.text)
success();
@@ -580,7 +580,7 @@ steal("jquery").then(function( $ ) {
if ( window.steal ) {
steal.type("view js", function( options, success, error ) {
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})";
success();

0 comments on commit 0309ce1

Please sign in to comment.