Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !7181

make less files compile with strict maths in 1.4.0

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/lukeapage/3.0.0-wip into 3.0.0-wip Mar 06, 2013
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 9

Created by: lukeapage

In 1.4.0 the default mode is that operations are not operated unless they are inside brackets. This means that font, gradient properties and calc functions do not need escaping in 1.4.0 in the default mode.

There is an option to turn this off, but we would like to phase people onto doing maths in brackets so we can remove that option.

This change compiles to the same css with less 1.3.3 and less 1.4.0

It just means people won't have to specify --strict-maths-off in order to get bootstrap 3 to compile with less.

@matthewdl and @jonschlinkert FYI.

There are some things I could tidy up with 1.3.3 / 1.4.0 features, but we can wait until you have raised your requirements.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/lukeapage/3.0.0-wip