Carabiner 1.4: Asset Management Library |
[eluser]Unknown[/eluser]
Hi, I have Carabiner setup on my site with Minify. Is there a way to remove the line brake and make it compact?
[eluser]ilSignorCarlo[/eluser]
Hi, I'm having some problems making it work. I'm using your config file, just to try, and I put it in the application/config directory. I'm loading a script and a css in the controller, immediately before loading the views. Then in a header view I output everything with: <?php $this->carabiner->display(); ?> When I load the page I get this error: Code: Severity: Warning can you help me?
[eluser]ilSignorCarlo[/eluser]
ok, I managed to solve that problem, so now I don't get any error, but still it doesn't load the script and the css.
[eluser]MainmanFR[/eluser]
Hi, I want to download carabiner, but when I click on one of the 3 links of the first post, I've got a blank page... Is it a Code Igniter problem or the files aren't available ? Thanks
[eluser]monodesigns[/eluser]
[quote author="MainmanFR" date="1330353149"]Hi, I want to download carabiner, but when I click on one of the 3 links of the first post, I've got a blank page... Is it a Code Igniter problem or the files aren't available ? Thanks[/quote] I'm having the same problem. Very frustrating since I love this library and want to make sure that I have the latest and greatest.
[eluser]Unknown[/eluser]
You can download it from here: https://github.com/tonydewan/Carabiner
[eluser]Unknown[/eluser]
Hi there ! I'm trying to make it work with phpTal. Everything's fine, but... ![]() I just cannot render the controller called assets in the proper div in my views. My view are rendered like : $this->tal->display('homepage.php'); $this->carabiner->display('analog'); // analog is a group set up in the config file Using the display() method, the assets's path are outputted as soon as possible, i.e just after the docType. Of course i would like to render them between the <head></head>. Any idea please ? Cheers, Kostra
[eluser]jamieburchell[/eluser]
Hey, Could you update your Wiki to include information on what each of the optional boolean parameters are for? The one for minification seems to be missing. I've hunted all over the documentation but couldn't find any mention of it. On the Wiki it talks about combining using an optional boolean flag, but nothing about minification. E.g: Code: array('/js/libs/selectivizr.min.js', TRUE, FALSE) I'm led to believe from somebody who has studied the code to mean: combine but don't minify. Cheers! Jamie ps: I also have a suggestion- could we control whether or not the script tag contains the type attribute, it's not required in HTML5.
[eluser]Unknown[/eluser]
When loading groups, JS loads before CSS. I may be mistaken, but it's bad practice to have the JS load before the CSS. The CSS should be loaded before the JS. To accomplish this, do the following in libraries/carabiner.php: (Lines 516-522) Code: default:
|
Welcome Guest, Not a member yet? Register Sign In |