Skip to content

Commit

Permalink
Merge pull request #21 from andru/master
Browse files Browse the repository at this point in the history
Fix: Remove dependency on jquery and define position for fontawesome
  • Loading branch information
andru committed Mar 10, 2016
2 parents 837974d + 326ef27 commit d3a0c34
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions base/Skin.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ public static function init(){
),

'bootstrap.js' => $template + array(
'dependencies'=>array('jquery'),
'scripts'=> array('bootstrap-3.0.3/js/bootstrap.js'),
'group'=>'bootstrap'
),

'font-awesome' => $template + array(
'styles' => array(
'font-awesome-4.0.3/css/font-awesome.css'=>array('media'=>'screen')
),
'position'=>'top',
'group'=>'bootstrap'
),

Expand All @@ -67,7 +67,7 @@ public static function init(){
),
'group'=>'booty'
)
);
);

self::addModules($modules);
}
Expand Down Expand Up @@ -100,7 +100,7 @@ public function initPage( OutputPage $out ) {
font-weight: normal;
font-style: normal;
}");

//js items will be appended after page load
$out->addModules( 'bootstrap.js' );
$out->addModules( 'skin.booty.js' );
Expand All @@ -113,4 +113,3 @@ public function initPage( OutputPage $out ) {


}

0 comments on commit d3a0c34

Please sign in to comment.