Skip to content

Instantly share code, notes, and snippets.

@lgt
Created February 13, 2016 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgt/706cd1ea6e523cd62274 to your computer and use it in GitHub Desktop.
Save lgt/706cd1ea6e523cd62274 to your computer and use it in GitHub Desktop.
// Example 1 this does not work
$this->addJs(
'/plugins/kakuki/immotemp/assets/dist/vendors.js',
'/plugins/kakuki/immotemp/assets/dist/index.js'
);
// Example 2 in this case I have just the last injected
$this->addJs('/plugins/kakuki/immotemp/assets/dist/vendors.js');
$this->addJs('/plugins/kakuki/immotemp/assets/dist/index.js');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment