- Add the following lines of code to the end of the
deps
file:
[lessphp]
git=https://github.com/leafo/lessphp.git
target=/lessphp
version=v0.3.2
// Bootstrap Mid-Small - col-ms-* - the missing grid set for Bootstrap3. | |
// | |
// This is a hack to fill the gap between 480 and 767 pixels - a missing range | |
// in the bootstrap responsive grid structure. Use these classes to style pages | |
// on cellphones when they transition from portrait to landscape. | |
// | |
// Contains: | |
// Columns, Offsets, Pushes, Pulls for the Mid-Small layout | |
// Visibility classes for the Mid-Small layout | |
// Redefined visibility classes for the Extra Small layout |
// ... | |
const renderApp = (location, initialStatus) => { | |
return universalMatch({routes, location, store, history, deferred: true, initialStatus}) | |
.then(({component, redirectLocation}) => { | |
if (redirectLocation) { | |
history.replace(redirectLocation) | |
} else { | |
render(component, document.getElementById('react-view')); | |
} | |
}) |
... | |
const renderApp = (location, preload) => { | |
return universalRouter({routes, location, store, history, deferred: true, preload}) | |
.then(({component, redirectLocation}) => { | |
if (redirectLocation) { | |
history.replace(redirectLocation) | |
} else { | |
render(component, document.getElementById('react-view')); | |
} | |
}) |
HTML5Boilerplate - http://html5boilerplate.com/ , https://github.com/h5bp/html5-boilerplate .
20. base.html.twig
into app/Resources/views/base.html.twig
.web/lib/libraryName
. For example, my structure:web
var ie678 = !!$("<i><!--[if lte IE 8]><i></i><![endif]--></i>").appendTo("body").children()[0]; |
# symfony2/app/config/parameters.ini | |
locale="undefined" | |
fallback_locale="en" |