File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 88
99export TUTORIAL_ROOT=" ../$1 .javascript.info"
1010export NODE_LANG=" ${2:- en} "
11+ export TUTORIAL_LANG=$1
1112export NODE_ENV=production
1213export TUTORIAL_EDIT=1
1314export NODE_PRESERVE_SYMLINKS=1
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 ( config . lang ) ) ;
202+ style . define ( 'rtl' , [ '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
12+ background-color green
1113
1214@media print
1315 body
1416 color black
17+
You can’t perform that action at this time.
0 commit comments