Fix issue with url shortening not working, get proper mixing in of service options.

This commit is contained in:
jrburke 2011-02-16 10:43:25 -08:00
Родитель ad4704c055
Коммит eadc2ed022
1 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -40,17 +40,16 @@ function (rdapi, object, TextCounter) {
this.type = name.replace(/\s/g, '').toLowerCase();
this.tabName = this.type + 'Tab';
this.icon = 'i/' + this.type + 'Icon.png';
this.shorten = false;
this.autoCompleteWidget = null;
// set features
this.features = options.features || {
this.features = {
counter: false,
direct: false,
subject: false
};
object.mixin(this, options);
object.mixin(this, options, true);
}
SvcBase.constructor = SvcBase;
SvcBase.prototype = {