1 | static bool web_contentsDifferent(Web a, Web b) {
|
2 | if (a == null) ret b != null; |
3 | if (b == null) true; |
4 | Web aa = cloneWeb(a), bb = cloneWeb(b); |
5 | aa.globalID = bb.globalID = null; |
6 | ret neq(struct(aa), struct(bb)); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1010964 |
| Snippet name: | web_contentsDifferent - compare two webs' contents (ignore web's title, source, global id) |
| Eternal ID of this version: | #1010964/3 |
| Text MD5: | fab9d57a0a048901f655feaf9b689060 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-10-10 19:28:57 |
| Source code size: | 225 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 716 / 725 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |