]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
when > 0 rather than when not 0
authorJacob Thornton <jacobthornton@gmail.com>
Sun, 4 Mar 2012 22:11:51 +0000 (14:11 -0800)
committerJacob Thornton <jacobthornton@gmail.com>
Sun, 4 Mar 2012 22:11:51 +0000 (14:11 -0800)
docs/assets/bootstrap.zip
less/mixins.less

index 84c5698f6590c3e046cefcc7df2df52af1cb0eba..e84dd00cc827b647873cb9de3c526bad8fcd0aa8 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index d58a43685d42b5234698d67c90d9ec71b4d36607..b1274847d4801d9a614715839f1a441739e401b5 100644 (file)
   // Recursive mixins! <3
   // Requires not yet released LESS ;)
 
-  .spanX (@index) when not (@index = 0) {
+  .spanX (@index) when (@index > 0) {
     ~".span@{index}" { .span(@index); }
     #grid .spanX(@index - 1);
   }
-  .spanX (@index, @child) when not (@index = 0) and (@child) {
+  .spanX (@index, @child) when (@index > 0) and (@child) {
     ~"> .span@{index}" { .span(@index); }
     #grid .spanX(@index - 1);
   }
   .spanX (0) {}
 
-  .offsetX (@index) when not (@index = 0) {
+  .offsetX (@index) when (@index > 0) {
     ~".offset@{index}" { .offset(@index); }
     #grid .offsetX(@index - 1);
   }