function(path) {
      if (path.indexOf("/") < 0 && path.indexOf(".") > -1) {
        path = path.replace(/\./g, "/");
      }
      if (!qx.lang.Array.contains(this.__requiredAssets, path)) {
        this.__requiredAssets.push(path);
      }
    }
function(path) {
      if (path.indexOf("/") < 0 && path.indexOf(".") > -1) {
        path = path.replace(/\./g, "/");
      }
      if (!qx.lang.Array.contains(this.__requiredAssets, path)) {
        this.__requiredAssets.push(path);
      }
    }
function ( path ) { if ( path . indexOf ( "/" ) < 0 && path . indexOf ( "." ) > - 1 ) { path = path . replace ( / \. / g , "/" ) ; } if ( ! qx . lang . Array . contains ( this . __requiredAssets , path ) ) { this . __requiredAssets . push ( path ) ; } }
Adds a required asset
@param path
Adds a required asset