demos/Collage/fabric.js
function(name, value) {
      if (name === 'fontFamily' && this.path) {
        this.path = this.path.replace(/(.*?)([^\/]*)(\.font\.js)/, '$1' + value + '$3');
      }
      this.callSuper('_set', name, value);
    }
function(name, value) {
      if (name === 'fontFamily' && this.path) {
        this.path = this.path.replace(/(.*?)([^\/]*)(\.font\.js)/, '$1' + value + '$3');
      }
      this.callSuper('_set', name, value);
    }
function ( name , value ) { if ( name === 'fontFamily' && this . path ) { this . path = this . path . replace ( / (.*?)([^\/]*)(\.font\.js) / , '$1' + value + '$3' ) ; } this . callSuper ( '_set' , name , value ) ; }
Sets specified property to a specified value
@method set
@param {String} name
@param {Any} value
@return {fabric.Text} thisArg
@chainable
Sets specified property to a specified value