similar to: Error in prototype.js? / Enumerable.each

Displaying 20 results from an estimated 2000 matches similar to: "Error in prototype.js? / Enumerable.each"

2008 Mar 25
6
Prototype 1.6.0.2 + Firefox 3 Enumerable problems
I am using Prototype 1.6.0.2 on Firefox 3.0b4. The following does not work when I enter it in Firebug: $A([1,2,3,4]).each(function(n) {alert(n);}); The above is just an example. Any array, using $A and any enumerable method, returns the following: TypeError: iterator.bind is not a function Seems like some objects are not being extended correctly? Using Prototype 1.5.0 on Firefox 3.0b4, this
2006 Jan 23
3
prototype.js: enumerable mixin for hash broken
Hello everyone. I am not sure if this is the right place to post, please redirect me if there is a mailinglist more specifically dealing with prototype.js. After playing around with the very inspiring prototype library I have found a rather annoying thing, that makes the usefulness of the Enumerable mixin for Hashes questionable, if I am not totally wrong (again :-). Here an example:
2007 Jan 22
1
Prototype.js object.constructor exception
I''m trying to debug an a uncaught exception: Permission denied to get property Object.constructor error. I have some code like this: myObject.js ------------ function myObject (arg1, arg2, arg3) { //does some constructor related stuff } myObject.prototype.createSomething = function() { // do more boring stuff // return an Array; } manager.js ----------- var fakeHashMap = new
2009 Apr 26
9
Problems running features with Textmate Cucumber bundle
I finally plunked down for the beta RSpec bundle and I''m working through the initial example. Although I''m a fairly experienced RSpec user, I''m stlll learning new tricks. Anyway, I''m going though the mastermind example, and everything is going well, except that I decided to also try out the Textmate bundle for Cucumber. I decided to use Ben Mabey''s
2009 Jul 06
3
Rspec book issue (mastermind example)
Hey Everyone, Just a simple question. I have read and re-read the examples and I''m not getting the proper output. I''m on page 73/74 of the Rspec book and it says I should have "4 steps passed". I think the problem is within my /step_definition/mastermind.rb" file. It''s definitely not beyond me to make a mistake, but I have checked and double checked my
2008 Aug 19
1
address (nil), cause 'memory not mapped'
Dear users, I got this problem and i don't have a clue of what it could be happening... The context: i'm running a loop in which i extract information from a raster map (I work with GRASS and R, using spgrass6 package), and rearrange it to create a matrix. I've tried it with small maps and it works smoothly, but in large maps I have to resort to saving data in the hard disk regularly
2005 Dec 09
5
Prototype Enumerable, Array and Hash Documentation
Hey guys, I recently published an article documenting some of the more useful and interesting parts of Prototype''s Enumerable, Hash and Array objects. You can find it here: http://encytemedia.com/blog/articles/ 2005/12/07/prototype-meets-ruby-a-look-at-enumerable-array-and-hash If you have any feedback or suggestions, fire away. Cheers, -Justin Palmer
2007 Sep 12
2
Prototype.js and Coremetrics eluminate.js issues
Hi, I am trying to use prototype.js on a JSP that also contains some javascript from Coremetrics (eluminate.js). Coremetrics is used for tracking marketing clicks. When I have both of these javascript imports on the page I get javascript errors in the eluminate.js file. I get javascript errors that say "Undeterminate string constant." It looks like the prototype.js file is somehow
2007 Sep 18
4
Prototype.js and Multidimensional Arrays
Hi there, this code works only fine , if i dont embedding the prototype.js in my document: <script type="text/javascript"> var myCheckBox2 = new Array(); myCheckBox2[''Ort''] = new Array("hamburg","berlin","hannover"); myCheckBox2[''Art''] = new Array("programmierung","support");
2005 Oct 03
3
Save output
Dear R-Mastermind Within a while or a for-loop, is there a way that I can save to disk the results of the previous calculations at the end of each loop with filenames called "file01.Rdata", "file02.Rdata" etc? So far, I have tried to write the outcome of each loop in a 3 dimensional array and saved it just once after the loop. Or is there another way so that I can keep
2012 Feb 18
1
Re: iscsi with gluster i want to make it
Hi Viraj, Gluster Ver. 3.x supports replication over WAN but currently very limited. I assume it will expand as time moves on. As for ISCSI. I doubt Glusterfs will ever support ISCSI. ISCSI operates at the block level. Gluster only works on the filesystem level. The only way to have iscsi on Gluster would be to export an iscsi target that is a file on gluster. As for snapshot and
2005 Dec 15
3
site home page
Hi, I have a really dumb qustion, but I can''t find an answer in "Agile Rails" or any other hand holder. And, it is a difficult topic to search for in google. What controller/view is used for the home page of a site? I get how to create new controllers, but I don''t get at all how to change content on the home page. thanks, matt On 12/14/05, Austin Ziegler
2015 Aug 18
1
Liebert IntelliSlot Unity Card IS-UNITY-DP snmp UPS-MIB.upsIdentManufacturer '1.3.6.1.2.1.33.1.1.1.0' problem
OpenBSD 5.6 nut-2.7.2 (bin package) Liebert IntelliSlot Unity Card IS-UNITY-DP ups.conf: ...... ? mibs = ietf ? snmp_version = v1 ...... The problem is that the card responds to other snmp (v1,2c,3) requests normally but not to the 1.3.6.1.2.1.33.1.1.1.0 (UPS-MIB.upsIdentManufacturer). # snmp-ups -a laes2ups -DDDDDDD Network UPS Tools - Generic SNMP UPS driver 0.72 (2.7.2) ?? 0.000000???? debug
2004 Jun 19
7
QoS net-snmp ?
Hi I''ve patched net-mrtg http://www.net-snmp.org/ with http://x-ray.prokon.cz/data/snmp/ sucefully Also I''ve copied QOS.TXT to /usr/local/share/snmp/mibs when I make a normal use of snmp, with mrtg in order to monitor all traffic on eth0 and eth1, it works OK. But, how must I do in order to get monitor for a specific class ? If I make a snmpwalk (like README suggest), I get
2013 Oct 21
5
I/O port access handling for PVH
George, since you asked on Friday, I though about the situation some more over the weekend. On PV, the requirement to trap all INs and OUTs is a result from us needing the enforce two levels of restrictions - Xen''s and the guest kernel''s. I.e. we can''t make use of the hardware''s access control mechanisms, as we can''t put two I/O bit maps in place, and
2005 Dec 25
2
offtopic: which one is faster: file or database?
hi, this topic is not directly about rails but I wanna hear your opinions and experience in this matter. you know apache''s access.log .. I am using lighttpd accesslog which is same as apache for some of my analysis. I copy the log into my database during my analysis for soem advanced queroies and then delete it. It''s done once a day on a non-loaded hour (5 am) so it doesnt bring
2009 Sep 03
5
Rails 3.o
So... "Beginning Rails 3" is supposedly due Sept 2009 http://www.apress.com/book/view/9781430224334 "Rails 3 in Action" is due February 2010 (est.) http://www.manning.com/katz/ ... can we assume a beta release of Rails 3 is very close? Would like to invest in Rails 3 :)
2007 Jan 19
7
Prototype.js: Is there an "in_array"-like function?
Hi i was wondering if there is a quick way to search for a item within an array. Here is my approach for this functionality. It''s an prototype for an Array method called "has": Array.prototype.has = function(needle) { for (var i=0;i<this.length;i++) { if(this[i] == needle){ return true; } } return false; } var someArray = [''jim'',
2005 Nov 07
4
Urgent Samba / Squid NTLM Auth Problems
Hi, We are having problems setting up a squid cache server to use NTLMv2 authentication to authenticate users against AD. We have narrowed the problems down to being a problem between samba and squid when using NTLMv2. It constantly moans about the password being wrong when using squid, but doing a direct samba auth works fine. We have (believedly) narrowed it down to this: the domain requires
2006 Oct 14
1
mitools, multiple imputation
R 2.2.0 windows XP I am beginning to explore the mitools package contributed by Thomas Lumley (thank you Thomas) and I have a few questions: (1) In the examples given in the mitools documentation, the only family argument used is family=binomial. Does the package support family=gaussian and other link functions? I ran the with function with family=gaussian and I obtained results, but I am not