The issue
[Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them]
Founded on f.Application
> __proto__ > *
from Marionette.JS' object (Backbone.Marionette.Application();
):
Knowledge
ES5 prohibited the use of arguments.callee
according MDN. However, I am using some third-party library that probably use it and I don't know how to deal with.
My environment is:
- jQuery
- Require.JS
- Underscore.JS
- Backbone.JS
- Marionette.JS
- Handlebars
General
I removed 'use strict';
from all my own js
files – not third-party libraries; my own scripts coded from scratch – and I can't see what's going wrong here – I need to be enlightened.
So, can someone suggest me something? And yes, I saw similar threads web-around, but no success at all – I think my issue is more specific than others.
The past
For those who ask, I wasn't working with Marionette.JS before in this application – just Backbone.JS. The error began to happen when I migrated my application from "native" Backbone to Marionette.