changcheng / wro4j

Automatically exported from code.google.com/p/wro4j
0 stars 0 forks source link

Update evnjs in LessCssProcessor #537

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The current implementation is quite old and missing such things as the btoa() 
and atob() functions.

Original issue reported on code.google.com by gnoodl on 4 Sep 2012 at 4:16

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 18 Sep 2012 at 3:24

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 27 Sep 2012 at 12:24