Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Adds floating point numbers support to attributeCheckMethods.numbers#424

Open
knightdr wants to merge 2 commits into
tiff:masterfrom
weblinc:master
Open

Adds floating point numbers support to attributeCheckMethods.numbers#424
knightdr wants to merge 2 commits into
tiff:masterfrom
weblinc:master

Conversation

@knightdr
Copy link
Copy Markdown

This is for situations such as attribute='15.5'

@knightdr
Copy link
Copy Markdown
Author

@bnolan

You're absolutely correct, thanks. I made the appropriate update.

@nevf
Copy link
Copy Markdown

nevf commented Oct 21, 2013

May I suggest allowing % so width="100%" isn't stripped.

var REG_EXP = /\d+\.?\d*%?/g;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants