tinymce.full.js
function (path) {
        var self = this;

        path = /^(.*?)\/?(\w+)?$/.exec(path);

        // Update path parts
        self.path = path[0];
        self.directory = path[1];
        self.file = path[2];

        // Rebuild source
        self.source = '';
        self.getURI();
      }
function (path) {
        var self = this;

        path = /^(.*?)\/?(\w+)?$/.exec(path);

        // Update path parts
        self.path = path[0];
        self.directory = path[1];
        self.file = path[2];

        // Rebuild source
        self.source = '';
        self.getURI();
      }
function ( path ) { var self = this ; path = / ^(.*?)\/?(\w+)?$ / . exec ( path ) ; // Update path parts self . path = path [ 0 ] ; self . directory = path [ 1 ] ; self . file = path [ 2 ] ; // Rebuild source self . source = '' ; self . getURI ( ) ; }
Sets the internal path part of the URI.

@method setPath
@param {string} path Path string to set.
Sets the internal path part of the URI .