Displaying 11 results from an estimated 11 matches for "toarray".
Did you mean:
t_array
2006 Jun 20
4
Prototype Array bug??
...ned
t=without, undefined
t=flatten, undefined
t=compact, undefined
t=last, undefined
t=first, undefined
t=clear, undefined
t=_each, undefined
t=_reverse, undefined
t=entries, undefined
t=member, undefined
t=select, undefined
t=find, undefined
t=map, undefined
t=inspect, undefined
t=zip, undefined
t=toArray, undefined
t=sortBy, undefined
t=reject, undefined
t=pluck, undefined
t=partition, undefined
t=min, undefined
t=max, undefined
t=invoke, undefined
t=inject, undefined
t=include, undefined
t=grep, undefined
t=findAll, undefined
t=detect, undefined
t=collect, undefined
t=any, undefined
t=all, undefin...
2006 Mar 17
10
good javascript xml parser
Anyone know of a javascript function that will take an xml document and
turn it into an associative array?
Basically it would take something like this:
<body>
<item>
<id>1</id>
<name>Bob</name>
</item>
<item>
<id>2</id>
<name>John</name>
</item>
</body>
And turn it into something like this:
{
2007 Sep 18
4
Prototype.js and Multidimensional Arrays
...ned
undefined
grep
undefined
undefined
undefined
include
undefined
inGroupsOf
undefined
undefined
inject
undefined
undefined
undefined
invoke
undefined
max
undefined
undefined
min
undefined
undefined
partition
undefined
undefined
pluck
undefined
reject
undefined
undefined
sortBy
undefined
undefined
toArray
zip
size
inspect
find
undefined
undefined
select
undefined
undefined
member
undefined
entries
_reverse
_each
undefined
clear
first
last
compact
flatten
without
reduce
uniq
undefined
intersect
undefined
clone
toJSONument
i test it with several versions of prototype.js but this doesn''t help...
2007 Sep 21
1
Weird data from evalJSON
...ject]
[object Object]
[object Object]
[object Object]
function (iterator) { var index = 0; try { this._each((function
(value) {iterator(value, index++);})); } catch (e) { if (e != $break)
{ throw e; } } return this; }
function (number, iterator) { var index = -number, slices = [], array
= this.toArray(); while ((index += number) < array.length)
{ slices.push(array.slice(index, index + number)); } return
slices.map(iterator); }
function (iterator) { var result = true; this.each((function (value,
index) {result = result && !!(iterator || Prototype.K)(value,
index);if (!result) {throw $...
2007 May 20
2
Get first class name
I have a situation where I need to get the first class name of an
element.
Element.ClassNames() returns an object not an array...
Object.values() will turn it into an array, but the API Docs say that
the order of the resulting array is browser-dependent.. So for my use
is no good...
So I am using:
el.className.split(" ").first();
Can any one see any problems that I might
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
..., value, index++);
});
} catch (e) {
if (e != $break) throw e;
@@ -600,47 +608,46 @@ var Enumerable = {
},
eachSlice: function(number, iterator, context) {
- iterator = iterator ? iterator.bind(context) : Prototype.K;
var index = -number, slices = [], array = this.toArray();
+ if (number < 1) return array;
while ((index += number) < array.length)
slices.push(array.slice(index, index+number));
return slices.collect(iterator, context);
},
all: function(iterator, context) {
- iterator = iterator ? iterator.bind(context) : Prototype....
2016 Jan 15
2
JDataFrame API
Hi Simon,
Thanks for your feedback. -- this is an observation that I wasn't
considering when I wrote this mainly because I am, in fact, working
with rather small data sets. BTW: There is code there, it's under the
bitbucket link -- here's the direct link if you'd still like to look
at it:
https://bitbucket.org/CoherentLogic/jdataframe
Re "for practical purposes is
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply
to this email, as some of the replaced lines are too long, so git
won't let me send the email. However, there is nothing wrong with
that patch, and it should be applied in the sequence listed below.
Note also that I assume this will be tested on a clean f11 install, rather
than an upgrade of an existing ovirt server
2010 Oct 29
0
Wine release 1.3.6
...ub.
jscript: Implement VBArray constructor.
jscrpt: Added VBScript.lbound() implementation.
jscript: Added VBArray.ubound() implementation.
jscript: Added VBArray.dimensions() implementation.
jscript: Added VBArray.getItem() implementation.
jscript: Added VBArray.toArray() implementation.
jscript: Added VBArray handling to to_object().
jscript: Improved error handling in VBArray functions.
jscript: Improved VBArray related tests.
jscript: Add index, input and lastIndex properties to regexp functions results.
jscript: Added DISPATCH_PRO...
2005 Dec 02
43
ANN: acts_as_ferret
Hi all
This week I have worked with Rails and Ferret to test Ferrets (and Lucenes)
capabilities. I decided to make a mixin for ActiveRecord as it seemed the
simplest possible solution and I ended up making this into a plugin.
For more info on Ferret see:
http://ferret.davebalmain.com/trac/
The plugin is functional but could easily be refined. Anyway I want to share it
with you. Regard it as a
2005 Dec 02
43
ANN: acts_as_ferret
Hi all
This week I have worked with Rails and Ferret to test Ferrets (and Lucenes)
capabilities. I decided to make a mixin for ActiveRecord as it seemed the
simplest possible solution and I ended up making this into a plugin.
For more info on Ferret see:
http://ferret.davebalmain.com/trac/
The plugin is functional but could easily be refined. Anyway I want to share it
with you. Regard it as a