Comments (5)
Thank you for letting me know. I will take a look as soon as possible.
from angular-flash.
It is actually there on purpose as the original file is ES6 and it maps to that. It is also a JavaScript comment so it shouldn't break too much. Could you explain a little how it blows up your Rails app? Is it the asset precompilation and if so what is the error?
There should also be map for the .min.js so I added one there now.
from angular-flash.
I get:
ERROR ActionController::RoutingError: No route matches [GET]
"/assets/angular-flash.js.map"
On the front end Ifail to instantiate module in which I try to use Flash factory.
This does look like something that can be resolved on my side but that's
the first time I see a library behave like that. Other libraries I have do
not include the map file for not minified version of js, so I assumed
something might be wrong on library's side.
from angular-flash.
Ok, It seems that problem lies in rails sprockets: rails/sprockets#284 , rails/sprockets#157
So not much to do on angular-flash side.
from angular-flash.
Thank you for getting back on this. I'll close the ticket for now. Please let me know if there is something that I can help you with still.
from angular-flash.
Related Issues (20)
- Incomplete documentation HOT 1
- Flash Showing Multiple Messages HOT 9
- Error when used without stateparams HOT 1
- Implement Support for "scoped" messages. HOT 1
- New contributor, various proposals HOT 1
- Use the same name across api, repo and package managers HOT 2
- It is not possible to set an default onDismiss callback while using the directive
- Duplication of last alert when dismissing an alert
- Demo page not working (blocked non-HTTPS content)
- Animation not working because of markup/css issue HOT 2
- I cant see a flash mesage when I created it inside a promise
- is multiple container allowed? HOT 3
- All the flashes defined in HTML will be recreated on any specific flash call. HOT 4
- Can dismiss/clear support container?
- Display flash-message on top of other elements
- Multi-line flash message HOT 1
- Do not use generic name "app" for global variable
- Can this be used with AngularJS 4.x HOT 3
- Webpack imports css as ngFlash module instead of js HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-flash.