This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // connect() is a function that injects Redux-related props into your component. | |
| // You can inject data and callbacks that change that data by dispatching actions. | |
| function connect(mapStateToProps, mapDispatchToProps) { | |
| // It lets us inject component as the last step so people can use it as a decorator. | |
| // Generally you don't need to worry about it. | |
| return function (WrappedComponent) { | |
| // It returns a component | |
| return class extends React.Component { | |
| render() { | |
| return ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var likely = require("likely.js"); | |
| var data = {list:[1, 2, 3]}; | |
| var template = likely.Template([ | |
| 'for key, value in list', | |
| ' p', | |
| ' {{ value }}' | |
| ]); | |
| var div = document.createElement("div"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el | |
| index 447d7fd..27bba4a 100644 | |
| --- a/lisp/term/ns-win.el | |
| +++ b/lisp/term/ns-win.el | |
| @@ -929,6 +929,11 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.") | |
| (add-to-list 'window-system-initialization-alist '(ns . ns-initialize-window-system)) | |
| +(declare-function ns-toggle-fullscreen-internal "nsfns.m" ()) | |
| +(defun ns-toggle-fullscreen () |