However, the problem seems that passing settings like {elastic: false} get overwritten a few lines later. Since method is not a method here, settings will be pointing to method:
jquery-mentionsInput.js:
$.fn.mentionsInput = function (method, settings) {
var outerArguments = arguments; //Gets the arguments
//If method is not a function
if (typeof method === 'object' || !method) {
settings = method;
}
// ..
}
From the examples:
However, the problem seems that passing settings like
{elastic: false}
get overwritten a few lines later. Sincemethod
is not a method here,settings
will be pointing tomethod
:jquery-mentionsInput.js
:So, is this a bug or am I using it wrong?