We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e573208 + c66f8a5 commit d55379cCopy full SHA for d55379c
src/MultiTerm.js
@@ -54,7 +54,7 @@ $.extend( SELF.prototype, {
54
* @return {string[]}
55
*/
56
getTexts: function() {
57
- return $.merge( [], this._texts );
+ return this._texts;
58
},
59
60
/**
@@ -83,14 +83,12 @@ $.extend( SELF.prototype, {
83
return false;
84
}
85
86
- var otherTexts = multiTerm.getTexts();
87
-
88
- if( this._texts.length !== otherTexts.length ) {
+ if( this._texts.length !== multiTerm._texts.length ) {
89
90
91
92
for( var i = 0; i < this._texts.length; i++ ) {
93
- if( $.inArray( this._texts[i], otherTexts ) === -1 ) {
+ if( $.inArray( this._texts[i], multiTerm._texts ) === -1 ) {
94
95
96
0 commit comments