File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed
Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 55set -e
66
77export NODE_LANG=$1
8- export TUTORIAL_LANG=$1
8+ export TUTORIAL_LANG=$1
99export NODE_ENV=development
1010export ASSET_VERSIONING=query
1111export WATCH=1
Original file line number Diff line number Diff line change 88 set NODE_LANG = %2
99)
1010
11+ @ set TUTORIAL_LANG = %1
1112@ set NODE_ENV = production
1213@ set TUTORIAL_EDIT = 1
1314@ set ASSET_VERSIONING = query
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ module.exports = function () {
199199 nib ( ) ,
200200 function ( style ) {
201201 style . define ( 'lang' , config . lang ) ;
202- style . define ( 'rtl ' , [ 'ar' , 'fa' ] . includes ( process . env . TUTORIAL_LANG ) ) ;
202+ style . define ( 'isRtl ' , [ 'ar' , 'fa' ] . includes ( process . env . TUTORIAL_LANG ) ) ;
203203 style . define ( 'env' , config . env ) ;
204204 }
205205 ]
Original file line number Diff line number Diff line change 88 color color
99 background background
1010 margin 0
11- if rtl
11+ if isRtl
1212 background-color green
13+ direction rtl
1314
1415@media print
1516 body
You can’t perform that action at this time.
0 commit comments