trait FluidbookPlayerBranches
{
- use ToolboxPlayerBranches;
+ use ToolboxPlayerBranches {
+ updateAllBranches as parentUpdateAllBranches;
+ }
protected static $reposName = 'fluidbook-html5';
{
return Files::mkdir(resource_path('fluidbookpublication/player'));
}
+
+ protected function updateAllBranches()
+ {
+ $res = $this->parentUpdateAllBranches();
+ copy(static::getPlayerBaseDirectory() . '/local/animscode/js/libs/fluidbook/fluidbook.links.animations.js', resource_path('linkeditor/js/fluidbook.links.animations.js'));
+ return $res;
+ }
}