mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Fixed some documentation typos. (#212)
This commit is contained in:
parent
8164d673e0
commit
af945e064c
5 changed files with 9 additions and 9 deletions
|
|
@ -31,9 +31,9 @@ export default class Component extends React.Component {
|
|||
// - we can give the element an unaltered global classname
|
||||
// that can be used to introduce global css side effects
|
||||
// for example, through the configuration, web inspector
|
||||
// or user agente extensions
|
||||
// or user agent extensions
|
||||
// - the user doesn't need to keep track of both `css`
|
||||
// and `style`, and we make that whole ordear easier
|
||||
// and `style`, and we make that whole ordeal easier
|
||||
cssHelper (...args) {
|
||||
const classes = args
|
||||
.map((c) => {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ export default class Notification extends Component {
|
|||
|
||||
componentWillReceiveProps (next) {
|
||||
// if we have a timer going and the notification text
|
||||
// changed we rest the timer
|
||||
// changed we reset the timer
|
||||
if (next.text !== this.props.text) {
|
||||
if (this.props.dismissAfter) {
|
||||
this.resetDismissTimer();
|
||||
|
|
@ -42,7 +42,7 @@ export default class Notification extends Component {
|
|||
this.props.onDismiss();
|
||||
}
|
||||
});
|
||||
// aprhodie !important override :(
|
||||
// aprhodite !important override :(
|
||||
const { backgroundColor } = this.props;
|
||||
if (backgroundColor) {
|
||||
el.style.setProperty(
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ hterm.Terminal.prototype.clearPreserveCursorRow = function () {
|
|||
this.scrollPort_.invalidate();
|
||||
|
||||
// this will avoid a bug where the `wipeContents`
|
||||
// hterm API doens't send the scroll to the top
|
||||
// hterm API doesn't send the scroll to the top
|
||||
this.scrollPort_.redraw_();
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ config.subscribe(() => {
|
|||
});
|
||||
|
||||
// initialize communication with main electron process
|
||||
// and subscribe to all user intents for example from menues
|
||||
// and subscribe to all user intents for example from menus
|
||||
rpc.on('ready', () => {
|
||||
store_.dispatch(init());
|
||||
});
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ let modules;
|
|||
// cache of decorated components
|
||||
let decorated = {};
|
||||
|
||||
// varios caches extracted of the plugin methods
|
||||
// various caches extracted of the plugin methods
|
||||
let connectors;
|
||||
let middlewares;
|
||||
let uiReducers;
|
||||
|
|
@ -67,7 +67,7 @@ const loadModules = () => {
|
|||
let mod;
|
||||
const pluginName = getPluginName(path);
|
||||
|
||||
// window.require allows us to ensure this doens't get
|
||||
// window.require allows us to ensure this doesn't get
|
||||
// in the way of our build
|
||||
try {
|
||||
mod = window.require(path);
|
||||
|
|
@ -240,7 +240,7 @@ export function getTabProps (tab, parentProps, props) {
|
|||
|
||||
// connects + decorates a class
|
||||
// plugins can override mapToState, dispatchToProps
|
||||
// and the class gets deorated (proxied)
|
||||
// and the class gets decorated (proxied)
|
||||
export function connect (stateFn, dispatchFn, c, d = {}) {
|
||||
return function (Class, name) {
|
||||
return reduxConnect(
|
||||
|
|
|
|||
Loading…
Reference in a new issue