twitter/bootstrap — Issue #2272: Nested, responsive grid + less.js + sprites.less = big crash
Author: rozsmiechanykapelutek
Created: 2012-02-26 15:48:04+00:00
State: open

Downloaded the bootstrap, couple of minutes of templating and an error occurred.

``` HTML

Jakaś strona

Some Link? Idk.

Some Link? Idk.

Some Link? Idk.

Some Link? Idk.

```
Bootstrap.less

``` CSS
/*!
* Bootstrap v2.0.1
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/

// CSS Reset
@import "reset.less";

// Core variables and mixins
@import "variables.less"; // Modify this for custom colors, font-sizes, etc
@import "mixins.less";

// Grid system and page structure + responsive!
@import "scaffolding.less";
@import "grid.less";
@import "layouts.less";
@import "responsive.less";

// Base CSS
@import "type.less";
@import "code.less";
@import "forms.less";
@import "tables.less";

// Components: common
@import "sprites.less";
@import "dropdowns.less";
@import "wells.less";
@import "component-animations.less";
@import "close.less";

// Components: Buttons & Alerts
@import "buttons.less";
@import "button-groups.less";
@import "alerts.less"; // Note: alerts share common CSS with buttons and thus have styles in buttons.less

// Components: Nav
@import "navs.less";
@import "navbar.less";
@import "breadcrumbs.less";
@import "pagination.less";
@import "pager.less";

// Components: Popovers
@import "modals.less";
@import "tooltip.less";
@import "popovers.less";

// Components: Misc
@import "thumbnails.less";
@import "labels.less";
@import "progress-bars.less";
@import "accordion.less";
@import "carousel.less";
@import "hero-unit.less";

// Utility classes
@import "utilities.less"; // Has to be last to override when necessary

```

Output:
``` HTML

b.value is undefined

in sprites.less
()@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
w((function () {var a;if (g.charAt(h) !== "u" || !w(/^url\(/)) {return;}return a = w(this.entities.quoted) || w(this.entities.variable) || w(this.entities.dataURI) || w(/^[-\w%@$\/.&=:;#+?~]+/) || "", x(")"), new f.URL(a.value || a.data || a instanceof f.Variable ? a : new f.Anonymous(a), s.paths);}))@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
()@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
w((function () {return w(this.entities.literal) || w(this.entities.variable) || w(this.entities.url) || w(this.entities.call) || w(this.entities.keyword) || w(this.entities.javascript) || w(this.comment);}))@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
()@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
w((function () {var a, b, c = [], d;while ((a = w(this.addition) || w(this.entity))) {c.push(a);}if (c.length > 0) {return new f.Expression(c);}}))@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
()@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
w((function () {var a, b = [], c;while ((a = w(this.expression))) {b.push(a);if (!w(",")) {break;}}if (b.length > 0) {return new f.Value(b);}}))@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
()@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
w((function () {var a, b, c = g.charAt(h), d, e;t();if (c === "." || c === "#" || c === "&") {return;}if ((a = w(this.variable) || w(this.property))) {a.charAt(0) != "@" && (e = /^([^@+\/'"*`(;{}-]*);/.exec(m[i])) ? (h += e[0].length - 1, b = new f.Anonymous(e[1])) : a === "font" ? (b = w(this.font)) : (b = w(this.value)), d = w(this.important);if (b && w(this.end)) {return new f.Rule(a, b, d, k);}l = h, u();}}))@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
()@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
w((function () {var a, b = [];while ((a = w(this.mixin.definition) || w(this.rule) || w(this.ruleset) || w(this.mixin.call) || w(this.comment) || w(this.directive)) || w(/^[\s\n]+/)) {a && b.push(a);}return b;}))@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
()@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
w((function () {var a;if (w("{") && (a = w(this.primary)) && w("}")) {return a;}}))@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
()@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
w((function () {var a = [], b, c, d;t();while ((b = w(this.selector))) {a.push(b), w(this.comment);if (!w(",")) {break;}w(this.comment);}if (a.length > 0 && (c = w(this.block))) {return new f.Ruleset(a, c);}l = h, u();}))@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
()@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
w((function () {var a, b = [];while ((a = w(this.mixin.definition) || w(this.rule) || w(this.ruleset) || w(this.mixin.call) || w(this.comment) || w(this.directive)) || w(/^[\s\n]+/)) {a && b.push(a);}return b;}))@http://lesscss.googlecode.com/files/less-1.2.1.min.js:8
("// SPRITES\n// Glyphs and icons for buttons, nav, and more\n// -------------------------------------------\n\n\n// ICONS\n// -----\n\n//

```