Question: ```
echo'<script>
$( ".callback" ).click(function() {
  waitingDialog.show("Loading Something...",{
                progressType: "success",
                onHide: function () {alert("<a href="">link</a>");}
      });
setTimeout(function () {
  waitingDialog.hide();
}, 3000);
});
</script>
';

```

I want insert some link in 

```
alert("<a href="">link</a>"); 

```

My `echo` is single quoted. So how I use it? When I tried with `.$pp.` variable I got an error saying

> 
> Unexpected EOF
> 
> 
>

Answer: 
I finally figured out the issue.

As shown in my `package.json`, I'm using `redux-devtools`. I had Redux DevTools installed on Chrome, but not Firefox. The site works fine after installing it on Firefox.
This has to do with Redux DevTools. This is what worked for me:

```
const store = createStore(
  rootReducer,
  initialState,
  compose(
    applyMiddleware(
      thunk,
    ),
    process.env.NODE_ENV === 'development'
      ? window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
      : compose,
  ),
);

```

Note that `compose` does not handle `undefined` so you have to use a ternary & return `compose`.

In other words `(process.env.NODE_ENV === 'development') && (window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__())` does not work

Other possible solutions can be found on the redux GitHub page: <https://github.com/reduxjs/redux/issues/2033>