Skip to content
This repository was archived by the owner on Dec 5, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
font-size: 0;
white-space: nowrap;

// Negative margin for spacing, position for bringing hovered/focused/actived
// Negative margin for spacing, position for bringing hovered/focused/activated
// element above the siblings.
> .btn {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/bootstrap-3.1/less/input-groups.less
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
font-size: 0;
white-space: nowrap;

// Negative margin for spacing, position for bringing hovered/focused/actived
// Negative margin for spacing, position for bringing hovered/focused/activated
// element above the siblings.
> .btn {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/bootstrap-3.2/less/input-groups.less
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
font-size: 0;
white-space: nowrap;

// Negative margin for spacing, position for bringing hovered/focused/actived
// Negative margin for spacing, position for bringing hovered/focused/activated
// element above the siblings.
> .btn {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs (1.5)/css/operations.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
color: #111111;
height: 9px;
width: 3em;
substraction: 0;
subtraction: 0;
division: 1;
}
#operations .spacing {
Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs (1.5)/expected/operations.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
color: #111111;
height: 9px;
width: 3em;
substraction: 0;
subtraction: 0;
division: 1;
}
#operations .spacing {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
OperationError: Can't substract or divide a color from a number in {path}color-operation-error.less on line null, column 0:
OperationError: Can't subtract or divide a color from a number in {path}color-operation-error.less on line null, column 0:
1 prop: (3 / #fff);
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs (1.5)/less/extend-chaining.less
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
&:extend(.vb);
}

// media queries - dont extend outside, do extend inside
// media queries - don't extend outside, do extend inside

@media tv {
.ma:extend(.a,.b,.c,.d,.e,.f,.g,.h,.i,.j,.k,.l,.m,.n,.o,.p,.q,.r,.s,.t,.u,.v,.w,.x,.y,.z,.md) {
Expand Down
8 changes: 4 additions & 4 deletions test/Fixtures/lessjs (1.5)/less/merge.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@
.second-transform();
}
.test2 {
// Wont merge values without +: merge directive, for backwards compatibility with css
// Won't merge values without +: merge directive, for backwards compatibility with css
.first-transform();
.third-transform();
}
.test3 {
// Wont merge values from two sources with different properties
// Won't merge values from two sources with different properties
.fourth-transform();
.first-background();
}
.test4 {
// Wont merge values from sources that merked as !important, for backwards compatibility with css
// Won't merge values from sources that merked as !important, for backwards compatibility with css
.first-transform();
.fifth-transform();
}
.test5 {
// Wont merge values from mixins that merked as !important, for backwards compatibility with css
// Won't merge values from mixins that merked as !important, for backwards compatibility with css
.first-transform();
.second-transform() !important;
}
Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs (1.5)/less/operations.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
height: (10px / 2px+6px-1px*2);
width: (2 * 4-5em);
}
substraction: (20 - 10 - 5 - 5); // 0
subtraction: (20 - 10 - 5 - 5); // 0
division: (20 / 5 / 4); // 1
}

Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs (1.6)/css/operations.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
color: #111111;
height: 9px;
width: 3em;
substraction: 0;
subtraction: 0;
division: 1;
}
#operations .spacing {
Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs (1.6)/expected/operations.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
color: #111111;
height: 9px;
width: 3em;
substraction: 0;
subtraction: 0;
division: 1;
}
#operations .spacing {
Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs (1.6)/less/extend-chaining.less
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
&:extend(.vb);
}

// media queries - dont extend outside, do extend inside
// media queries - don't extend outside, do extend inside

@media tv {
.ma:extend(.a,.b,.c,.d,.e,.f,.g,.h,.i,.j,.k,.l,.m,.n,.o,.p,.q,.r,.s,.t,.u,.v,.w,.x,.y,.z,.md) {
Expand Down
8 changes: 4 additions & 4 deletions test/Fixtures/lessjs (1.6)/less/merge.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@
.second-transform();
}
.test2 {
// Wont merge values without +: merge directive, for backwards compatibility with css
// Won't merge values without +: merge directive, for backwards compatibility with css
.first-transform();
.third-transform();
}
.test3 {
// Wont merge values from two sources with different properties
// Won't merge values from two sources with different properties
.fourth-transform();
.first-background();
}
.test4 {
// Wont merge values from sources that merked as !important, for backwards compatibility with css
// Won't merge values from sources that merked as !important, for backwards compatibility with css
.first-transform();
.fifth-transform();
}
.test5 {
// Wont merge values from mixins that merked as !important, for backwards compatibility with css
// Won't merge values from mixins that merked as !important, for backwards compatibility with css
.first-transform();
.second-transform() !important;
}
Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs (1.6)/less/operations.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
height: (10px / 2px+6px-1px*2);
width: (2 * 4-5em);
}
substraction: (20 - 10 - 5 - 5); // 0
subtraction: (20 - 10 - 5 - 5); // 0
division: (20 / 5 / 4); // 1
}

Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs/css/operations.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
color: #111111;
height: 9px;
width: 3em;
substraction: 0;
subtraction: 0;
division: 1;
}
#operations .spacing {
Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs/expected/operations.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
color: #111111;
height: 9px;
width: 3em;
substraction: 0;
subtraction: 0;
division: 1;
}
#operations .spacing {
Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs/less/extend-chaining.less
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
&:extend(.vb);
}

// media queries - dont extend outside, do extend inside
// media queries - don't extend outside, do extend inside

@media tv {
.ma:extend(.a,.b,.c,.d,.e,.f,.g,.h,.i,.j,.k,.l,.m,.n,.o,.p,.q,.r,.s,.t,.u,.v,.w,.x,.y,.z,.md) {
Expand Down
8 changes: 4 additions & 4 deletions test/Fixtures/lessjs/less/merge.less
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@
.second-transform();
}
.test2 {
// Wont merge values without +: merge directive, for backwards compatibility with css
// Won't merge values without +: merge directive, for backwards compatibility with css
.first-transform();
.third-transform();
}
.test3 {
// Wont merge values from two sources with different properties
// Won't merge values from two sources with different properties
.fourth-transform();
.first-background();
}
.test4 {
// Wont merge values from sources that merked as !important, for backwards compatibility with css
// Won't merge values from sources that merked as !important, for backwards compatibility with css
.first-transform();
.fifth-transform();
}
.test5 {
// Wont merge values from mixins that merked as !important, for backwards compatibility with css
// Won't merge values from mixins that merked as !important, for backwards compatibility with css
.first-transform();
.second-transform() !important;
}
Expand Down
2 changes: 1 addition & 1 deletion test/Fixtures/lessjs/less/operations.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
height: (10px / 2px+6px-1px*2);
width: (2 * 4-5em);
}
substraction: (20 - 10 - 5 - 5); // 0
subtraction: (20 - 10 - 5 - 5); // 0
division: (20 / 5 / 4); // 1
}

Expand Down
14 changes: 7 additions & 7 deletions test/assets/less-1.6.3.js
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ less.Parser = function Parser(env) {
// string, so we've got a parsing error.
//
// We try to extract a \n delimited string,
// showing the line where the parse error occured.
// showing the line where the parse error occurred.
// We split it up into two parts (the part which parsed,
// and the part which didn't), so we can color them differently.
if (i < input.length - 1) {
Expand Down Expand Up @@ -964,7 +964,7 @@ less.Parser = function Parser(env) {
}
},

// A variable entity useing the protective {} e.g. @{var}
// A variable entity using the protective {} e.g. @{var}
variableCurly: function () {
var curly, index = i;

Expand Down Expand Up @@ -1319,7 +1319,7 @@ less.Parser = function Parser(env) {
//
// A Rule terminator. Note that we use `peek()` to check for '}',
// because the `block` rule will be expecting it, but we still need to make sure
// it's there, if ';' was ommitted.
// it's there, if ';' was omitted.
//
end: function () {
return $char(';') || peekChar('}');
Expand Down Expand Up @@ -5310,8 +5310,8 @@ tree.Ruleset.prototype = {
}

// The paths are [[Selector]]
// The first list is a list of comma seperated selectors
// The inner list is a list of inheritance seperated selectors
// The first list is a list of comma separated selectors
// The inner list is a list of inheritance separated selectors
// e.g.
// .a, .b {
// .c {
Expand Down Expand Up @@ -5737,7 +5737,7 @@ tree.Variable.prototype = {
'optimization', // option - optimization level (for the chunker)
'files', // list of files that have been imported, used for import-once
'contents', // map - filename to contents of all the files
'contentsIgnoredChars', // map - filename to lines at the begining of each file to ignore
'contentsIgnoredChars', // map - filename to lines at the beginning of each file to ignore
'relativeUrls', // option - whether to adjust URL's to be relative
'rootpath', // option - rootpath to append to URL's
'strictImports', // option -
Expand Down Expand Up @@ -6511,7 +6511,7 @@ tree.Variable.prototype = {
// a target extend is the one on the ruleset we are looking at copy/edit/pasting in place
// e.g. .a:extend(.b) {} and .b:extend(.c) {} then the first extend extends the second one
// and the second is the target.
// the seperation into two lists allows us to process a subset of chains with a bigger set, as is the
// the separation into two lists allows us to process a subset of chains with a bigger set, as is the
// case when processing media queries
for(extendIndex = 0; extendIndex < extendsList.length; extendIndex++){
for(targetExtendIndex = 0; targetExtendIndex < extendsListTarget.length; targetExtendIndex++){
Expand Down
14 changes: 7 additions & 7 deletions test/assets/less-1.7.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ less.Parser = function Parser(env) {
// string, so we've got a parsing error.
//
// We try to extract a \n delimited string,
// showing the line where the parse error occured.
// showing the line where the parse error occurred.
// We split it up into two parts (the part which parsed,
// and the part which didn't), so we can color them differently.
if (i < input.length - 1) {
Expand Down Expand Up @@ -967,7 +967,7 @@ less.Parser = function Parser(env) {
}
},

// A variable entity useing the protective {} e.g. @{var}
// A variable entity using the protective {} e.g. @{var}
variableCurly: function () {
var curly, index = i;

Expand Down Expand Up @@ -1360,7 +1360,7 @@ less.Parser = function Parser(env) {
//
// A Rule terminator. Note that we use `peek()` to check for '}',
// because the `block` rule will be expecting it, but we still need to make sure
// it's there, if ';' was ommitted.
// it's there, if ';' was omitted.
//
end: function () {
return $char(';') || peekChar('}');
Expand Down Expand Up @@ -5545,8 +5545,8 @@ tree.Ruleset.prototype = {
}

// The paths are [[Selector]]
// The first list is a list of comma seperated selectors
// The inner list is a list of inheritance seperated selectors
// The first list is a list of comma separated selectors
// The inner list is a list of inheritance separated selectors
// e.g.
// .a, .b {
// .c {
Expand Down Expand Up @@ -5972,7 +5972,7 @@ tree.Variable.prototype = {
'optimization', // option - optimization level (for the chunker)
'files', // list of files that have been imported, used for import-once
'contents', // map - filename to contents of all the files
'contentsIgnoredChars', // map - filename to lines at the begining of each file to ignore
'contentsIgnoredChars', // map - filename to lines at the beginning of each file to ignore
'relativeUrls', // option - whether to adjust URL's to be relative
'rootpath', // option - rootpath to append to URL's
'strictImports', // option -
Expand Down Expand Up @@ -6792,7 +6792,7 @@ tree.Variable.prototype = {
// a target extend is the one on the ruleset we are looking at copy/edit/pasting in place
// e.g. .a:extend(.b) {} and .b:extend(.c) {} then the first extend extends the second one
// and the second is the target.
// the seperation into two lists allows us to process a subset of chains with a bigger set, as is the
// the separation into two lists allows us to process a subset of chains with a bigger set, as is the
// case when processing media queries
for(extendIndex = 0; extendIndex < extendsList.length; extendIndex++){
for(targetExtendIndex = 0; targetExtendIndex < extendsListTarget.length; targetExtendIndex++){
Expand Down
14 changes: 7 additions & 7 deletions test/assets/less-1.7.1.js
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ less.Parser = function Parser(env) {
// string, so we've got a parsing error.
//
// We try to extract a \n delimited string,
// showing the line where the parse error occured.
// showing the line where the parse error occurred.
// We split it up into two parts (the part which parsed,
// and the part which didn't), so we can color them differently.
if (i < input.length - 1) {
Expand Down Expand Up @@ -967,7 +967,7 @@ less.Parser = function Parser(env) {
}
},

// A variable entity useing the protective {} e.g. @{var}
// A variable entity using the protective {} e.g. @{var}
variableCurly: function () {
var curly, index = i;

Expand Down Expand Up @@ -1365,7 +1365,7 @@ less.Parser = function Parser(env) {
//
// A Rule terminator. Note that we use `peek()` to check for '}',
// because the `block` rule will be expecting it, but we still need to make sure
// it's there, if ';' was ommitted.
// it's there, if ';' was omitted.
//
end: function () {
return $char(';') || peekChar('}');
Expand Down Expand Up @@ -5555,8 +5555,8 @@ tree.Ruleset.prototype = {
}

// The paths are [[Selector]]
// The first list is a list of comma seperated selectors
// The inner list is a list of inheritance seperated selectors
// The first list is a list of comma separated selectors
// The inner list is a list of inheritance separated selectors
// e.g.
// .a, .b {
// .c {
Expand Down Expand Up @@ -5982,7 +5982,7 @@ tree.Variable.prototype = {
'optimization', // option - optimization level (for the chunker)
'files', // list of files that have been imported, used for import-once
'contents', // map - filename to contents of all the files
'contentsIgnoredChars', // map - filename to lines at the begining of each file to ignore
'contentsIgnoredChars', // map - filename to lines at the beginning of each file to ignore
'relativeUrls', // option - whether to adjust URL's to be relative
'rootpath', // option - rootpath to append to URL's
'strictImports', // option -
Expand Down Expand Up @@ -6802,7 +6802,7 @@ tree.Variable.prototype = {
// a target extend is the one on the ruleset we are looking at copy/edit/pasting in place
// e.g. .a:extend(.b) {} and .b:extend(.c) {} then the first extend extends the second one
// and the second is the target.
// the seperation into two lists allows us to process a subset of chains with a bigger set, as is the
// the separation into two lists allows us to process a subset of chains with a bigger set, as is the
// case when processing media queries
for(extendIndex = 0; extendIndex < extendsList.length; extendIndex++){
for(targetExtendIndex = 0; targetExtendIndex < extendsListTarget.length; targetExtendIndex++){
Expand Down
Loading