MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

re-order lkp for object

+8 -13
+1 -1
README.txt
··· 12 12 13 13 EXAMPLE: 14 14 See examples/server/server.js for a good server example using Ant.serve() 15 - with Radix3 routing, parameter handling, and various response types. 15 + with `rou3` routing, parameter handling, and various response types. 16 16 17 17 MODULES: 18 18
+1 -1
meson.build
··· 79 79 build_date = run_command('date', '+%Y-%m-%d', check: true).stdout().strip() 80 80 81 81 version_conf = configuration_data() 82 - version_conf.set('ANT_VERSION', '0.2.2.56') 82 + version_conf.set('ANT_VERSION', '0.2.2.57') 83 83 version_conf.set('ANT_GIT_HASH', git_hash) 84 84 version_conf.set('ANT_BUILD_DATE', build_date) 85 85
+6 -11
src/ant.c
··· 4314 4314 return get_prototype_for_type(js, vtype(obj)); 4315 4315 } 4316 4316 4317 + jsoff_t prop_off = lkp(js, obj, key_str, len); 4318 + if (prop_off != 0) return resolveprop(js, mkval(T_PROP, prop_off)); 4319 + 4320 + jsoff_t proto_off = lkp_proto(js, obj, key_str, len); 4321 + if (proto_off != 0) return resolveprop(js, mkval(T_PROP, proto_off)); 4322 + 4317 4323 jsval_t accessor_result; 4318 4324 if (try_accessor_getter(js, obj, key_str, len, &accessor_result)) { 4319 4325 return accessor_result; 4320 4326 } 4321 4327 4322 - jsoff_t prop_off = lkp(js, obj, key_str, len); 4323 - if (prop_off != 0) return resolveprop(js, mkval(T_PROP, prop_off)); 4324 - 4325 4328 jsval_t dyn_result = try_dynamic_getter(js, obj, key_str, len); 4326 4329 if (vtype(dyn_result) != T_UNDEF) return dyn_result; 4327 - 4328 - jsoff_t proto_off = lkp_proto(js, obj, key_str, len); 4329 - if (proto_off != 0) return resolveprop(js, mkval(T_PROP, proto_off)); 4330 4330 4331 4331 return js_mkundef(); 4332 4332 } ··· 13243 13243 } else { 13244 13244 jsval_t setter = resolveprop(js, mkval(T_PROP, set_off)); 13245 13245 js_set_setter_desc(js, as_obj, prop_str, prop_len, setter, desc_flags); 13246 - } 13247 - 13248 - if (existing_off == 0) { 13249 - jsval_t prop_key = js_mkstr(js, prop_str, prop_len); 13250 - mkprop(js, as_obj, prop_key, js_mkundef(), !configurable); 13251 13246 } 13252 13247 } else { 13253 13248 int desc_flags =