asm89/FOSCommentBundle — comment on commit 80ccf8992a2d9f07fb84a78da1f0557fb5231175
File: Resources/assets/js/rest-comments.js line 33
By stof:

to be consistent with FOSJsRoutingBundle, I would put this inside the toplevel ``fos`` variable (by taking care not to remove other FOS stuff.
I would also enclose the code in an anonymous function to isolate it from the global scope.

```js
(function(window, $, easyXDM){
var FOS_COMMENT = {}; // all the existing code goes here

window.fos = window.fos || {};
window.fos.Comment = FOS_COMMENT;
})(window, window.jQuery, window.easyXDM)
```