This website requires JavaScript.
Explore
Help
Sign in
quine-global
/
hyper
Watch
1
Star
0
Fork
You've already forked hyper
0
mirror of
https://github.com/quine-global/hyper.git
synced
2026-01-13 04:28:41 -09:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
1866104d03
hyper
/
lib
/
actions
/
index.js
6 lines
74 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Handling file opening (#329) * Add function to escape a shell argument. * Keep track of the last used window. * Implement support for the open-file event. * The shell escape regex needs parentheses to be captured. * Removed lastWindow and added getLastFocusedWindow method to app * Create window create new session only if no callback passed * Added app.windowCallback to handle open-file before "ready" * Small lint fixes * Differeent open file handling: check if it is directory, and if the file is executale or not * Small fixed and added some comments * Added php-escape-shell module in place of custom escapeShellArgument() * Fixed wrong code and added detailed comment * Aliased php_escapeshellcmd import * Rebased; added error handling in OpenFile * changed string contatenation with template literal * Pinned php-escape-shell dependency * Typo fix * getLastdFocusedWindow now uses Array.prototype.reduce() * Notify users of unexisting path while open file
2016-08-01 14:52:21 -08:00
import
rpc
from
'../rpc'
;
refactor
2016-07-13 12:44:24 -08:00
[WIP] Use XO instead of Standard (#723) * Bump `eslint-plugin-react` * Add `eslint-config-xo-react` * Add XO * Remove eslint-related dependencies, add XO config and use XO as the linter * Code style: Standard => XO :sparkles: * Use xo property to ignore files * Fix remaining errors
2016-09-21 06:27:11 -08:00
export
function
init
(
)
{
Handling file opening (#329) * Add function to escape a shell argument. * Keep track of the last used window. * Implement support for the open-file event. * The shell escape regex needs parentheses to be captured. * Removed lastWindow and added getLastFocusedWindow method to app * Create window create new session only if no callback passed * Added app.windowCallback to handle open-file before "ready" * Small lint fixes * Differeent open file handling: check if it is directory, and if the file is executale or not * Small fixed and added some comments * Added php-escape-shell module in place of custom escapeShellArgument() * Fixed wrong code and added detailed comment * Aliased php_escapeshellcmd import * Rebased; added error handling in OpenFile * changed string contatenation with template literal * Pinned php-escape-shell dependency * Typo fix * getLastdFocusedWindow now uses Array.prototype.reduce() * Notify users of unexisting path while open file
2016-08-01 14:52:21 -08:00
rpc
.
emit
(
'init'
)
;
refactor
2016-07-13 12:44:24 -08:00
}
Reference in a new issue
Copy permalink