You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 30, 2018. It is now read-only.
I ran into an issue where angular-masonry minified files (minified by Rails Asset Pipeline) were not working because this library doesn't inject dependencies.
For those with this issue, I changed this:
.controller('MasonryCtrl', function controller($scope, $element, $timeout) {
to this:
.controller('MasonryCtrl', ['$scope', '$element', '$timeout', function controller($scope, $element, $timeout) {
And now it's working fine in Production (:
Let me know if this worth a PR.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I ran into an issue where angular-masonry minified files (minified by Rails Asset Pipeline) were not working because this library doesn't inject dependencies.
For those with this issue, I changed this:
.controller('MasonryCtrl', function controller($scope, $element, $timeout) {
to this:
.controller('MasonryCtrl', ['$scope', '$element', '$timeout', function controller($scope, $element, $timeout) {
And now it's working fine in Production (:
Let me know if this worth a PR.
The text was updated successfully, but these errors were encountered: