(funcSource string)
| 217 | } |
| 218 | |
| 219 | func (runner *SyncRunner) SetFunction(funcSource string) (bool, error) { |
| 220 | funcSource = wrappedFuncSource(funcSource) |
| 221 | return runner.JSRunner.SetFunction(funcSource) |
| 222 | } |
| 223 | |
| 224 | // Common implementation of 'access()' and 'role()' callbacks |
| 225 | func (runner *SyncRunner) addValueForUser(ctx context.Context, user otto.Value, value otto.Value, mapping map[string][]string) otto.Value { |