We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In a scenario where we want to be minified file, but loaded from an external domain best of my knowledge the code should look like this:
$this->assets->collection('jsFooter') ->setLocal(false) ->join(true) ->setPrefix('http://cdn.example.com/') ->setSourcePath($JsDir.$this->config->assets->srcDir) ->setTargetPath($JsDir.'footer.js') ->setTargetUri('header.js') ->addFilter(new Phalcon\Assets\Filters\Jsmin()) ->addJs('jquery.min.js');
But PhalconPHP generating this:
<script src="/http://cdn.example.com/footer.js" type="text/javascript"></script>
instead of:
<script src="http://cdn.example.com/footer.js" type="text/javascript"></script>
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered:
Duplicate of #1157
Sorry, something went wrong.
No branches or pull requests
In a scenario where we want to be minified file, but loaded from an external domain best of my knowledge the code should look like this:
But PhalconPHP generating this:
instead of:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: