Хотя постановка с ворчанием (хрюкать служить) Я получаю:попкорн не был введен в файле
Running "bower-install:app" (bower-install) task
popcornjs was not injected in your file.
Please go take a look in "app\bower_components\popcornjs" for the file you need, then manually include it in your file.
Я добавил Popcorn.js к bower.json:
{
"name": "NAME",
"version": "0.0.0",
"dependencies": {
"angular": "1.2.6",
.
"popcornjs": "~1.3.0",
.
"angular-slugify": "1.0.0"
},
"devDependencies": {
"angular-mocks": "1.2.6",
"angular-scenario": "1.2.6"
}
}
Так, чтобы my index.html:
<s_cript src="bower_components/popcornjs/popcorn.js"></script>
<s_cript src="bower_components/popcornjs/modules/player/popcorn.player.js"></script>
<s_cript src="bower_components/popcornjs/players/youtube/popcorn.youtube.js"></script>
<s_cript src="bower_components/popcornjs/plugins/code/popcorn.code.js"></script>
. '.'
Я что-то упускаю? Другие библиотеки работают нормально.
Является ли 'popcorn.corn.js' основным файлом попкорна? –
_ не указаны в коде. – special0ne
@RUJordan popcorn.corn.js не входит в пакет. – special0ne