meenie / munee

Munee: Standalone PHP 5.3 Asset Optimisation & Manipulation
https://munee.herokuapp.com/
MIT License
833 stars 92 forks source link

Strange behavior encoding error #48

Closed kbariotis closed 9 years ago

kbariotis commented 10 years ago

Hey guys,

i have included Munee in a project and i noticed a stranged behavior. Including bootstrap.js and jquery.js works fine but not with gmaps3.js. I get a Content Encoding Error.

This is the Request object before echoing to the client.

object(Munee\Request)[5]
  public 'webroot' => string 'C:\wamp\www\artecolour' (length=22)
  public 'ext' => null
  public 'params' => 
    array (size=0)
      empty
  public 'files' => 
    array (size=0)
      empty
  public 'options' => 
    array (size=0)
      empty
  protected 'rawParams' => 
    array (size=0)
      empty
  protected 'allowedParams' => 
    array (size=0)
      empty
  protected 'rawFiles' => string '/assets/js/vendor/gmap3.js' (length=26)

and the same for bootstrap.js

object(Munee\Request)[5]
  public 'webroot' => string 'C:\wamp\www\artecolour' (length=22)
  public 'ext' => null
  public 'params' => 
    array (size=0)
      empty
  public 'files' => 
    array (size=0)
      empty
  public 'options' => 
    array (size=0)
      empty
  protected 'rawParams' => 
    array (size=0)
      empty
  protected 'allowedParams' => 
    array (size=0)
      empty
  protected 'rawFiles' => string '/components/jquery/jquery.js' (length=28)

but gmaps3.js not working.

is there a way for more debugging information?

meenie commented 9 years ago

Could you link me to the gmaps3.js file you were using? I'm trying out this one and I'm able to run it through Munee (and minify it) without issue.

meenie commented 9 years ago

Thanks for closing :)