canton7 / fuelphp-casset

Better asset management library for fuelphp (with minification!)
MIT License
103 stars 29 forks source link

HTML5 Changes #7

Closed chrismeller closed 12 years ago

chrismeller commented 12 years ago

When using Html::doctype() to declare an HTML5 page, don't inclue the type attributes on script and style tags (link tags for stylesheets, too).

canton7 commented 12 years ago

I fixed up the commits slightly, but it all looks good.

Merged in, thanks a lot for doing this!

chrismeller commented 12 years ago

Embrace the curly braces, they shall set you free!

canton7 commented 12 years ago

Honestly I would normally. However I've adopted the newline-for-every-brace for this project to match Fuel's style, and

<?php
if (something)
{
   $var = 'one';
}
else
{
   $var = 'two';
}

is painfully verbose for something so simple, so I tend to abbreviate...