Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Commit 0e5d4ce

Browse files
committed
Merge pull request #6730 from WebsiteDeveloper/lessUpdate
Update Less to 1.7.0
2 parents 4d9502f + 6b91317 commit 0e5d4ce

6 files changed

Lines changed: 23 additions & 14 deletions

File tree

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ module.exports = function (grunt) {
254254
'src/thirdparty/CodeMirror2/addon/selection/active-line.js',
255255
'src/thirdparty/mustache/mustache.js',
256256
'src/thirdparty/path-utils/path-utils.min',
257-
'src/thirdparty/less-1.4.2.min.js'
257+
'src/thirdparty/less-1.7.0.min.js'
258258
],
259259
helpers : [
260260
'test/spec/PhantomHelper.js'

src/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646

4747
<!-- Pre-load third party scripts that cannot be async loaded. -->
4848
<!-- build:js thirdparty/thirdparty.min.js -->
49-
<script src="thirdparty/less-1.4.2.min.js"></script>
49+
<script src="thirdparty/less-config.js"></script>
50+
<script src="thirdparty/less-1.7.0.min.js"></script>
5051
<script src="thirdparty/mustache/mustache.js"></script>
5152
<script src="thirdparty/jquery-2.1.0.min.js"></script>
5253
<!-- endbuild -->

src/thirdparty/less-1.4.2.min.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/thirdparty/less-1.7.0.min.js

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/thirdparty/less-config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
var less = {
2+
logLevel: 2
3+
};

test/SpecRunner.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<script src="../src/thirdparty/jquery-2.1.0.min.js"></script>
3939
<script src="../src/thirdparty/mustache/mustache.js"></script>
4040
<script src="../src/thirdparty/path-utils/path-utils.js"></script>
41-
<script src="../src/thirdparty/less-1.4.2.min.js"></script>
41+
<script src="../src/thirdparty/less-1.7.0.min.js"></script>
4242
<script src="thirdparty/bootstrap2/js/bootstrap.min.js"></script>
4343

4444
<!-- All other scripts are loaded through require. -->

0 commit comments

Comments
 (0)