1
나는 설치량을 줄이려고했지만 작동하지 않습니다.설정이 제대로 작동하지 않습니다.
방화범 신고 오류 :
Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)
내 코드 : .less 파일의
<link type="text/css" href="http://static.mydomain.com/css/colors.less" rel="stylesheet/less" />
<script type="text/javascript" src="http://static.mydomain.com/js/less-1.2.2.min.js" ></script>
헤더 :
Accept-Ranges bytes
Connection Keep-Alive
Content-Length 889
Content-Type text/css
Date Thu, 10 May 2012 16:56:51 GMT
Etag "5cbb93-379-4bedaed496200"
Keep-Alive timeout=5, max=100
Last-Modified Mon, 30 Apr 2012 00:56:40 GMT
Server Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.6
그리고 내용 :
#overflow {
.a { color: #111111 - #444444; } // #000000
.b { color: #eee + #fff; } // #ffffff
.c { color: #aaa * 3; } // #ffffff
.d { color: #00ee00 + #009900; } // #00ff00
}
,536,
누군가가 아이디어를 가지고 있습니까?
의 중복 가능성 (http://stackoverflow.com/questions/9061242/less-js-does- not-work-with-cdns) – thirtydot
종류입니다. 같은 결과는 아닙니다. – JuSchz
여기에 끝나는 다른 사람을위한 메모 : 내 웹 호스트의 웹 서버에서 같은 오류가 발생했습니다. '.less' 파일/MIME 형식이 알려지지 않았기 때문에 실수로 빈 응답을 보냈습니다. .less 파일을 제대로 제공하도록 웹 서버를 구성하면 문제가 해결되었습니다. 도메인 간 요청이 아니므로 모든 '.js' /'.less' 파일이 같은 폴더에서 제공되었습니다. –