js--js-inserter

js--js-inserter is a variable defined in `js.el'.
Its value is

"(function(func_info,func) {\n func_info.unshift('window');\n var obj = window;\n for(var i = 1; i < func_info.length - 1; ++i) {\n var next = obj[func_info[i]];\n if(typeof next !== 'object' && typeof next !== 'function') {\n next = obj.prototype && obj.prototype[func_info[i]];\n if(typeof next !== 'object' && typeof next !== 'function') {\n alert('Could not find ' + func_info.slice(0, i+1).join('.') +\n ' or ' + func_info.slice(0, i+1).join('.') + '.prototype');\n return;\n }\n\n func_info.splice(i+1, 0, 'prototype');\n ++i;\n }\n }\n\n obj[func_info[i]] = func;\n alert('Successfully updated '+func_info.join('.'));\n })"

  • This variable may be risky if used as a file-local variable.

Documentation:
Not documented as a variable.