0
運行grunt指南針手錶會給我提供棄用警告。在Foundation 5中運行「指南針手錶」會返回棄用警告
以下是錯誤日誌在我的終端:
Running "watch" task
Waiting...
>> File "source/sass/layout/_navigation.scss" changed.
Running "compass:dist" (compass) task
DEPRECATION WARNING on line 275 of /Users/username/Sites/sitename/www/projectname/bower_components/foundation/scss/foundation/components/_global.scss:
Assigning to global variable "$default-float" by default is deprecated.
In future versions of Sass, this will create a new local variable.
If you want to assign to the global variable, use "$default-float: left !global" instead.
Note that this will be incompatible with Sass 3.2.
DEPRECATION WARNING on line 276 of /Users/username/Sites/sitename/www/projectname/bower_components/foundation/scss/foundation/components/_global.scss:
Assigning to global variable "$opposite-direction" by default is deprecated.
In future versions of Sass, this will create a new local variable.
If you want to assign to the global variable, use "$opposite-direction: right !global" instead.
Note that this will be incompatible with Sass 3.2.
DEPRECATION WARNING: The return value of index() will change from "false" to
"null" in future versions of Sass. For compatibility, avoid using "== false" on
the return value. For example, instead of "@if index(...) == false", just write
"@if not index(...)".
on line of /Users/username/Sites/sitename/www/projectname/bower_components/foundation/scss/foundation/_functions.scss, in `exports'
from line 342 of /Users/username/Sites/sitename/www/projectname/bower_components/foundation/scss/foundation/components/_global.scss
from line 5 of /Users/username/Sites/sitename/www/projectname/bower_components/foundation/scss/foundation/components/_grid.scss
from line 103 of /Users/username/Sites/sitename/www/projectname/source/sass/style.scss
write development/includes/css/mercutio.css (2.757s)
Done, without errors.
這是否意味着我要更新一定NPM包,或在此基礎框架?
編輯:順便說一下正在工作的羅盤V1.0.1:
→ compass -v
Compass 1.0.1 (Polaris)
Copyright (c) 2008-2015 Chris Eppstein
Released under the MIT License.
Compass is charityware.
Please make a tax deductable donation for a worthy cause: http://umdf.org/compass