Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Using a suffix breaks steal in IE

$
0
0
As a temporary workaround I have edited steal.js with the following:
  1. ConfigManager.prototype.addSuffix = function( str ) {
    var suffix = this.attr('env') === 'development' ? undefined : this.attr('suffix')
    if ( suffix ) {
    str = (str + '').indexOf('?') > -1 ? str + "&" + suffix : str + "?" + suffix;
    }
    return str;
    }
Basically I am just unsetting the suffix property when in development mode so IE will load.

Viewing all articles
Browse latest Browse all 3491

Trending Articles