Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not really an issue... #6

Open
dex-labs opened this issue Oct 7, 2014 · 2 comments
Open

Not really an issue... #6

dex-labs opened this issue Oct 7, 2014 · 2 comments

Comments

@dex-labs
Copy link
Contributor

dex-labs commented Oct 7, 2014

Since i gave you so much trouble with the regex issue i thought id let you in on what i was using the script for:

lemons-shortcodes

Am still having an issue when there is a ? inside any of the options the opening tag but i can live without that.

@nicinabox
Copy link
Owner

Pretty cool!

Question mark probably just needs to be escaped.

@anhlada2002
Copy link

HI nicinabox ,

This is greate library. However, there's problem with "Function.prototype.bind" in IE8 and later. I added bellow code as your instruction but it's not working:

if (!Function.prototype.bind) {
Function.prototype.bind = function (oThis) {
if (typeof this !== "function") {
// closest thing possible to the ECMAScript 5 internal IsCallable function
throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");
}

var aArgs = Array.prototype.slice.call(arguments, 1),
fToBind = this,
fNOP = function () {},
fBound = function () {
return fToBind.apply(this instanceof fNOP && oThis? this : oThis, aArgs.concat(Array.prototype.slice.call(arguments)));
};

fNOP.prototype = this.prototype;
fBound.prototype = new fNOP();

return fBound;
};
}
Can you give any advice?

Thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants