2013-04-11 1 views
0

Singularity에서 중단 점을 사용하고 있으며 격자 외부의 요소에 대해 중단 점 확장을 사용합니다 (전체 너비 헤더 탐색). 추가 도랑()가 잘 실행 호출하지 않고Singularity Grid System에서 add-gutter를 사용하면 오류가 발생합니다.

@import "singularitygs"; 
@import "breakpoint"; 
@import "base"; 

$tabletwidth: 40em; 
$smalldesktopwidth: 60em; 

$grids: 4; 
$grids: add-grid(9 at $tabletwidth); 
$grids: add-grid(12 at $smalldesktopwidth); 

$gutters: 1/3; 
$gutters: add-gutter(1/2 at $tabletwidth); 
$gutters: add-gutter(1/2 at $smalldesktopwidth); 

를,하지만 추가 할 때 함께 나누기 : 내 screen.scss 파일에서 내가 가진

Syntax error: Undefined operation: "0.5 times 2". 
on line 20 of /Library/Ruby/Gems/1.8/gems/singularitygs-1.0.4/stylesheets/singularitygs/math/_columns.scss, in `output-isolation' 
from line 7 of /Library/Ruby/Gems/1.8/gems/singularitygs-1.0.4/stylesheets/singularitygs/_api.scss, in `grid-span' 
from line 102 of /Applications/MAMP/htdocs/modernlink/sass/screen.scss, in `@content' 
from line 178 of /Library/Ruby/Gems/1.8/gems/breakpoint-1.3/stylesheets/_breakpoint.scss, in `breakpoint' 
from line 99 of /Applications/MAMP/htdocs/modernlink/sass/screen.scss 

내가 잘못이를 사용하고? 누구든지 고칠 제안을 제안 할 수 있습니까?

편집 : 라인 99 screen.scss의이다 :

@include breakpoint($tabletwidth) { 
+0

이것은 Singularity 문제가 아닙니다. https://github.com/Team-Sass/Singularity/issues/94 –

답변

0

이 특이점에서 버그가 수 있도록 나타납니다. 추적 할 수 있도록 over on the issue queue 문제를 제기 할 수 있다면 좋을 것입니다. 감사!

편집 : Singularity 1.0.7 (현재 버전)을 사용하여이 오류를 재현 할 수 없습니다. Singularity의 최신 버전을 사용하고 있는지 확인하십시오.

+0

감사합니다. 문제 큐로 옮깁니다. 그리고 예, 1.0.7을 사용하고 있습니다. –