Closed GoogleCodeExporter closed 9 years ago
I'm not sure I understand the issue? What is btoa and atob? Any references?
What are the benefits? Please elaborate.
Original comment by alex.obj...@gmail.com
on 4 Sep 2012 at 6:38
I was attempting to do some base64 encoding in a Less CSS JavaScript
expression. btoa() (https://developer.mozilla.org/en-US/docs/DOM/window.btoa)
is a base64 encoder and atob()
(https://developer.mozilla.org/en-US/docs/DOM/window.atob) a decoder.
These are implemented in recent builds of Envjs and would be handy to have
available
Original comment by gnoodl
on 5 Sep 2012 at 12:18
Can you provide a sample less file which uses btoa expression?
Original comment by alex.obj...@gmail.com
on 18 Sep 2012 at 9:34
Fixed in branch 1.4.x.
I've added a test-case which uses an invalid css, but at least proves that the
btoa() function is applied. A valid test-case would be helpful.
Original comment by alex.obj...@gmail.com
on 18 Sep 2012 at 3:24
Original comment by alex.obj...@gmail.com
on 18 Sep 2012 at 3:24
Original comment by alex.obj...@gmail.com
on 27 Sep 2012 at 12:24
Original issue reported on code.google.com by
gnoodl
on 4 Sep 2012 at 4:16