Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F12655334
run-action.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
491 B
Referenced Files
None
Subscribers
None
run-action.js
View Options
"use strict"
;
const
locreq
=
require
(
"locreq"
)(
__dirname
);
function
run_action
(
RootSubject
,
context
,
subject_path
,
action_name
,
params
){
return
RootSubject
.
get_subject
(
subject_path
)
.
then
(
function
(
subject
){
return
subject
.
perform_action
(
context
,
action_name
,
params
);
});
}
run_action
.
curry
=
function
(
RootSubject
){
return
function
(
context
,
subject_path
,
action_name
,
params
){
return
run_action
(
RootSubject
,
subject_path
,
action_name
,
params
);
};
};
module
.
exports
=
run_action
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 28, 15:03 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1079368
Default Alt Text
run-action.js (491 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment