File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ <%
2+ function recodexIsXmas () {
3+ return (new Date ()).getMonth () === 11 && (new Date ()).getDate () > 19 ;
4+ }
5+ %>
16<!DOCTYPE html>
27<html >
38 <head <%- head.htmlAttributes.toString() % >
7681 <%= ((new Date ()).getMonth () === 3 && (new Date ()).getDate () === 1 ) ? ' Loudím' : ' Loading' %> ...
7782 </div >
7883
79- <div id =" root" class =" <%= ((new Date()).getMonth() === 11 && (new Date()).getDate() > 19 ) ? 'recodexmas' : '' %>" >
84+ <div id =" root" class =" <%= (recodexIsXmas() ) ? 'recodexmas' : '' %>" >
8085 <% - html %>
8186 </div >
8287 <% if (reduxState) { % >
8792
8893 <script >
8994 window .__RECODEX_CONFIG__ = < %- config % > ;
90- < %= (( new Date ()). getMonth () === 11 && ( new Date ()). getDate () > 19 ) ? ' window.recodexmas = true;' : ' ' % >
95+ < %= (recodexIsXmas () ) ? ' window.recodexmas = true;' : ' ' % >
9196 </script >
9297 <script src =" <%= bundle %>" ></script >
9398 <script >
You can’t perform that action at this time.
0 commit comments