News for hackers. Stuff that matters.
Re:SimpLESS compiless .less into beautiful .css by skilesare on Thursday February 09, 2012 @10:14AM (#3571399)
Anyone having issues on Windows? I drag my project folder over...I only have one .less file in my /content folder of an asp.net mvc project. simpleLess throws and error saying Syntax Error on line 1.

This Less file works great when using run time compilation.

Re:SimpLESS compiless .less into beautiful .css by chris_engel on Thursday February 09, 2012 @12:49PM (#3572112)
Hey, try saving your lessfile in UTF8 without BOM. Titanium cant handle the BOM and crashes there.
Re:SimpLESS compiless .less into beautiful .css by skilesare on Thursday February 09, 2012 @01:21PM (#3572258)
I guess I'm not hackery enough. I have no idea what this means. I use visual studio to edit this file so I'm tied to how that saves the file. I had actually tried doing a find and replace on the /r/n line endings to see if that was the issue. I have no idea how to tell vs to save without a bytemark.
Re:SimpLESS compiless .less into beautiful .css by chris_engel on Thursday February 09, 2012 @01:53PM (#3572449)
Well, there should be some setting in VS for what format the ide shouldnuse when saving the file. I have no idea hOw/where to configure this in VS but the exact problem you described above was mentioned to us by a couple of users and it was always because of VS and UTF8 with BOM.
Re:SimpLESS compiless .less into beautiful .css by skilesare on Thursday February 09, 2012 @03:56PM (#3573034)
This seems like more of an issue with titanium. They should fix this. If I start jacking with my file save settings it it going to cause problems when my team members start opening my files. As much as I don't like MS having control, titanium should support files that windows produces.
Re:SimpLESS compiless .less into beautiful .css by chris_engel on Thursday February 09, 2012 @07:54PM (#3573984)
Yeah, you are right with that. But since appcelerator is dropping the titanium desktop framework, i don't believe its getting fixed so far :/