1
html5 LeanBack Player로 게임하고 있으며 javascritpts 페이지에서만 잘 작동합니다. 내가 3 프로젝트를 레일 이러한 자바 스크립트 파일을 추가한다면 그때 린백 플레이어의 자바 스크립트 파일에 오류가 발생합니다 :두 개의 javascript 파일의 충돌
Uncaught TypeError: Object function each(iterator, context) {
var index = 0;
try {
this._each(function(value) {
iterator.call(context, value, index++);
});
} catch (e) {
if (e != $break) throw e;
}
return this;
} has no method ‘split’
기능 LBPlayer.prototype.resolveTextPlainSubs에.
레일에있는 원시 프로토 타입과 충돌했기 때문에 추측했는데 해결 방법을 모르겠습니다. 실제로는 Array.prototype
의 확장 프로토 타입과 충돌의 감사
우수함! 감사. 공식적인 설명은 http://www.prototypejs.org/api/array입니다. – megas