-
-
Notifications
You must be signed in to change notification settings - Fork 494
IE8 support #314
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
IE8 support #314
Conversation
IE8 requires the ability to use the alternative directive syntax : <div rzslider ... ></div> Fixes angular-slider#313
Current coverage is
|
The only problem this leaves is that the CSS rules all need to be changed : s/^rzslider/.rzslider/g and I'm not sure how you'd do that. Would we change all the rules to have selectors that covered both cases ? |
What about using |
Did you mean "the template inside a div with the .rzslider class" ? |
Yes the |
New template, SASS source, and change to initElemhandles() now pushed. |
Why did you use |
@ValentinH not sure what you mean. The slashes have to be there to escape the speech marks. |
they have to be here when used directly in the JS file but here it's an HTML one. ;) |
@ValentinH oh, right. I'm not sure how that file ends up in the output .js file. I will change on the branch. |
OK, I need to test it to ensure that there is no breaking change due to this change. Some unit tests are failing and they are probably about the vertical option. |
Sorry for the delay of my response. I have just tried you changed and indeed, the vertical sliders are broken. |
@tomchiverton any update about this PR? |
I've not had a chance to add vertical sliders to our IE8-requiring application to confirm the suggestion above. |
I tried it and it should work. Could you update your PR so I can merge it? |
Sure. I didn't realise Github wouldn't let you make these changes pre-merge. |
Thanks! Just before I merge, can you rebase/squash all the commits into one please so it's cleaner in the commits list? |
How do I do that ? Pretend I'm a Subversion user who only uses Git because lots of projects I depend on do. |
Also it will be released under 3.0 version since existing implementations can be broken if style are defined using the |
Apparently you can do this for this and all future requests : https://github.com/blog/2141-squash-your-commits |
Indeed, I saw it when they added it but forgot it! :D Thanks 👍 |
I'll release it a little bit later because I would like to implement what I explained in #328 so I only do only major release. |
IE8 requires the ability to use the alternative directive syntax : <div rzslider ... >
Fixes #313