Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1010964 // web_contentsDifferent - compare two webs' contents (ignore web's title, source, global id)

JavaX fragment (include)

static bool web_contentsDifferent(Web a, Web b) {
  if (a == null) ret b != null;
  if (b == null) true;
  Web aa = cloneWeb(a), bb = cloneWeb(b);
  aa.globalID = bb.globalID = null;
  ret neq(struct(aa), struct(bb));
}

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: 420 / 413
Version history: 2 change(s)
Referenced in: [show references]