Javascript or jQuery - compare / subtract (2) arrays, output to a 3rd
array?
I am having a hard time finding a reference as to what is the best
practice for this. . .
Any thoughts or suggestion?
Mike
--
You received this message because you are subscribed to the Google Groups
TiddlyWiki
HTML and Javascript files like TW are basically text files. You can
try to open the damaged file in a text editor like notepad, notepad++,
or any number of other text editors avail. for free. Then save it
with the .html extension (important). There are also free file
recovery tools you can try;
Hi Craig,
Hold the horses before detailing the requests!
I think the solution to this problem lies with convincing the user
group that single spaces between sentences is *the* way to go instead
of accommodating their request. It is a fact that any professional
document – a newspaper, a book –
This is excitingly beautiful and a somewhat promising usecase to the
tw landscape...
Could be used with:
*polls
*hypertext stories
*multiple choice
*voting
and triggering who-knows-what with the addition of drag'n'drop and a
kind of target-canvas, as in:
*a (shopping) basket
*some kind of add
Alex,
It is most regrettable that I didn't see your last post before
completing my research. For anyone interested I will post it here
anyway.
Alex,
First, I'm confused by apparently contradictory statements:
Some requests for from the group have included;
*double space after paragraphs
*no
Can I add my noise to this string - it was a great evening for a non-
expert to meet experts, and as with most things tiddly I may not have
understood all of it, or even much of it at times, but I always had a
strong sense of the excitement around this project, and most
importantly of the
I guess you mean a method to produce an array by removing all items
from array 1 that are not in array 2 ?
Something like this?
function ArraySubtract(ara1,ara2) {
var aRes = new Array() ;
for(var i=0;iara1.length;i++) {
if( ! (ara2.contains(ara1[i]) )) {
aRes.push(ara1[i]) ;
}
I think that may be it (or very close)
i.e.
ara1 = [a,b,c,d,e]
ara2 = [c,e]
aRes = [a, b, d]
I tried to google a answer, but without the proper terminology I did
not get any usable results.
Thank You for the feedback,
Mike
On Apr 25, 5:41 pm, Mark S. throa...@yahoo.com wrote:
I guess you
ServerLock has a refresh on release. . .
ServerLock.processLockAttempt = function(data) {
other code here
if(data == acquired) {
other code here
refreshDisplay();
story.refreshAllTiddlers();
}
I have these HTML scripts. . . (as a reference)
Hi Tony,
Thanks for the suggestions. I'll have a read. In the time I spent
waiting for my post to be approved I actually found a solution myself:
+++*[Search Tools »]tiddler SearchTools===
+++*[Notes »]tiddler NotesCollection===
+++*[Users »]tiddler UserDefinitions===
+++*[Views »]tiddler
10 matches
Mail list logo