pc035860

Results 87 comments of pc035860

I fork the example at https://2wyki.csb.app/ with `height: 100%` in `styles.css` commented out, and it works on my iOS 14.4.2 Safari. It seems that `body-scroll-lock` requires setting `disableBodyScroll` on correct...

Hi @isvaljek , I'm not familiar with Electron. The error seems related to `angular` module can not be found. `angular` is a required dependency in the case that your module...

It seems that the `` environment provided in Electron app's `index.html` actually uses node-like module system (CommonJS). I guess if you simply install `angular` with npm rather than bower will...

Hi @pashaigood Say you have a piece of HTML like this ``` html selection: ``` To watch for model change, simply use `$scope.$watch()` in the controller. ``` js .controller('MainCtrl', function...

Hi @forfuns , I tried to recreate the result you described. ### `$positive: -1` http://plnkr.co/edit/KXFVv8VUUJOtJ4v2oW4X This is caused by the page not having any scrollbar I guess. ### Working demo...

Try `ezfb.Event.subscribe`, which is mapped to [FB.Event.subscribe()](https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/v2.8). Subscribe to `edge.create`, `edge.remove` events to detect user click on the like button.

`hljs-include` uses [$templateCache](https://docs.angularjs.org/api/ng/service/$templateCache) (same as `ng-include`) internally. Which means actually you can handle the code loading request your self, and you can write a new directive for displaying "loading" message....

According your description, you're actually required to have `post.content` compiled by AngularJS again for directive (like `hljs`) to work. ```js // In your controller, don't forget to inject `$templateCache` $templateCache.put('postContent-xxx',...

Try replacing the `highlightBlock` call on `` or `` elements. ```js var service = $window.hljs || hljsService; service.highlightBlock(iElm.find('pre > code')[0]); // or service.highlightBlock(iElm.find('pre')[0]); ```

I've update the plunk with `iElm.find('pre')[0]`, and it seems to work correctly now. http://plnkr.co/edit/ZfB4tamhQIOLx0z9WUMH?p=preview