-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(neon): JsFunction::bind()
and Object::prop()
#1056
base: main
Are you sure you want to change the base?
Commits on Sep 8, 2024
-
Implement JsFunction::bind(), which creates a builder for calling a f…
…unction using the Try{From,Into}Js traits.
Configuration menu - View commit details
-
Copy full SHA for cc1b061 - Browse repository at this point
Copy the full SHA cc1b061View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7c05b8 - Browse repository at this point
Copy the full SHA f7c05b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c03fab - Browse repository at this point
Copy the full SHA 8c03fabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 33b0c2a - Browse repository at this point
Copy the full SHA 33b0c2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for acf0ec5 - Browse repository at this point
Copy the full SHA acf0ec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d32a52 - Browse repository at this point
Copy the full SHA 3d32a52View commit details -
Optimization: only do the function type check of the callee when call…
…ing BindOptions::apply()
Configuration menu - View commit details
-
Copy full SHA for db27665 - Browse repository at this point
Copy the full SHA db27665View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3f084d - Browse repository at this point
Copy the full SHA a3f084dView commit details
Commits on Sep 9, 2024
-
remove unnecessary sys::fun::call helper, and add test case for calli…
…ng non-functions with .bind()
Configuration menu - View commit details
-
Copy full SHA for 589fabc - Browse repository at this point
Copy the full SHA 589fabcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59fa3f4 - Browse repository at this point
Copy the full SHA 59fa3f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4fcf56 - Browse repository at this point
Copy the full SHA c4fcf56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ef24b5 - Browse repository at this point
Copy the full SHA 7ef24b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2c770d - Browse repository at this point
Copy the full SHA d2c770dView commit details -
arg_with's closure doesn't need to require a Result, since TryIntoJs …
…is already implemented for NeonResult
Configuration menu - View commit details
-
Copy full SHA for 8d18e19 - Browse repository at this point
Copy the full SHA 8d18e19View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2a34c0 - Browse repository at this point
Copy the full SHA b2a34c0View commit details -
BindOptions::this() takes a TryIntoJs (and is therefore fallible)
- tests for both strict and sloppy mode functions to show it works on primitives
Configuration menu - View commit details
-
Copy full SHA for 94a0c08 - Browse repository at this point
Copy the full SHA 94a0c08View commit details
Commits on Sep 10, 2024
-
store object in
PropOptions
as aJsObject
so it doesn't need a ty……pe parameter other than for the key
Configuration menu - View commit details
-
Copy full SHA for 45be1f3 - Browse repository at this point
Copy the full SHA 45be1f3View commit details -
avoid the double-type-check of eagerly downcasting to function when c…
…alling .bind(), since it's performed when calling .apply()
Configuration menu - View commit details
-
Copy full SHA for bb4f231 - Browse repository at this point
Copy the full SHA bb4f231View commit details -
style: move the InvalidArg tag check to a match guard
Co-authored-by: K.J. Valencik <kjvalencik@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for dd1ffdf - Browse repository at this point
Copy the full SHA dd1ffdfView commit details
Commits on Sep 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3257f01 - Browse repository at this point
Copy the full SHA 3257f01View commit details
Commits on Sep 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6148d8e - Browse repository at this point
Copy the full SHA 6148d8eView commit details
Commits on Sep 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 50a8832 - Browse repository at this point
Copy the full SHA 50a8832View commit details