ritz078 / ng-embed

An AngularJS filter/directive for embedding emojis, media, maps, tweets, code and services
http://riteshkr.com/ng-embed
MIT License
122 stars 35 forks source link

Make HightlightJS optional #58

Closed hantsy closed 8 years ago

hantsy commented 8 years ago
angular.js:13920 ReferenceError: hlsj (Highlight JS is not defined.
    at Object.link (http://localhost:3000/app.bundle.js?75a9220822be730b87b8:1567:32)
    at http://localhost:3000/vendor.bundle.js?75a9220822be730b87b8:11644:19
    at invokeLinkFn (http://localhost:3000/vendor.bundle.js?75a9220822be730b87b8:20331:10)
    at nodeLinkFn (http://localhost:3000/vendor.bundle.js?75a9220822be730b87b8:19732:12)
    at http://localhost:3000/vendor.bundle.js?75a9220822be730b87b8:20070:14
    at processQueue (http://localhost:3000/vendor.bundle.js?75a9220822be730b87b8:26780:29)
    at http://localhost:3000/vendor.bundle.js?75a9220822be730b87b8:26796:28
    at Scope.$eval (http://localhost:3000/vendor.bundle.js?75a9220822be730b87b8:28079:29)
    at Scope.$digest (http://localhost:3000/vendor.bundle.js?75a9220822be730b87b8:27892:32)
    at http://localhost:3000/vendor.bundle.js?75a9220822be730b87b8:28118:27 <ng-embed embed-data="'https://vimeo.com/video/184071458'" embed-options="$ctrl.options"

I do not user HL for codes, just want to embed videos....but it sill report Hightlight js is required.

hantsy commented 8 years ago

OK, I know the reason, all embed formats are enabled by default.