smashing: Uncaught TypeError: e.data.search is not a function
I Have create the sample dashboard using smashing new command. Everything works fine but there are lot of console error logs as below.
Uncaught TypeError: e.data.search is not a function
at handler (application.js:1325)
handler @ application.js:1325
application.js:1325 Uncaught TypeError: e.data.search is not a function
at handler (application.js:1325)
handler @ application.js:1325
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (11 by maintainers)
Added a page in our Wiki, under the Troubleshooting category
https://github.com/Smashing/smashing/wiki/Uncaught-TypeError:-e.data.search-is-not-a-function
+1 for closing this ticket?
The errors were caused by an extension. In my case it was the developer extension augury.
@tobias-- can you please try to access the dashboard in an incognito window, with all your chrome addons disabled?
It seems this code relates to passing data via
postMessage. It would fail if the dashboard receives apostMessagethat didn’t have a validdataattribute – this code in batman expects a string.The only thing I can think of that could send a
postMessageto the window would be a Chrome addon…