"മീഡിയവിക്കി:LAPI.js" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

Content deleted Content added
(ചെ.) Bot: Security fix: protocol-relative URLs per https://meta.wikimedia.org/?oldid=3197161 (questions?).
Fix Function.prototype.bind polyfill - https://phabricator.wikimedia.org/T70235#1096456
വരി 191:
/** Function enhancements ************/
 
if (!Function.prototype.bind = function (thisObject) {
// Return a function that calls the function with 'this' bound to 'thisObject'
Function.prototype.bind = function (thisObject) {
Function.prototype.bind = function (thisObject) {
var f = this, obj = thisObject;
var f = this, obj = thisObject, slice = Array.prototype.slice, prefixedArgs = slice.call (arguments, 1);
return function () { return f.apply (obj, prefixedArgs.concat (slice.call (arguments))); };
};
 
}
 
/** Array enhancements (Javascript 1.6) ************/
"https://ml.wikipedia.org/wiki/മീഡിയവിക്കി:LAPI.js" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്