Browse Source

construct handling

master
Odilitime 1 year ago
parent
commit
dd2925f026
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/parsers/scripting/javascript/BrowserJS.h

+ 4
- 1
src/parsers/scripting/javascript/BrowserJS.h View File

@@ -10,7 +10,6 @@
std::vector<std::string> getConstructs();
bool isConstruct(std::string construct);
js_internal_storage *executeConstruct(std::string functionName, std::string params, js_function &scope);
js_internal_storage *jsConstruct_querySelector(std::string params, js_function &scope);

class BrowserJavaScript : public JavaScript {
public:
@@ -22,4 +21,8 @@ public:
Window *window;
};

// construct handlers
js_internal_storage *jsConstruct_querySelector(std::string params, js_function &scope);
js_internal_storage *jsConstruct_addEventListener(std::string params, js_function &scope);

#endif

Loading…
Cancel
Save