[Proto-Scripty] Re: Prototype Essentials

2009-08-17 Thread nlloyds
Jove, I have a similar project (http://nlsmith.com/projects/prototype-asp/) that is actively maintained and does about the same thing as Prototype Essentials. I'm working on a 1.6.1 compatible release, and have contacted the author of that library to possibly put these projects together. This is

[Proto-Scripty] Re: dom:loaded & exceptions

2009-08-07 Thread nlloyds
On Aug 6, 4:32 pm, mr_justin wrote: > Don't call a method on an element unless it exists. This is a basic > defensive coding technique. He gets this. His question is about why he does not receive an exception. I'm not sure, and now that I think about it, I may have had the same problem. Nicolas

[Proto-Scripty] Re: Prototype's equivalent to jQuery's getJSON method?

2009-06-06 Thread nlloyds
Bertrand, On Jun 5, 5:53 pm, Bertrand wrote: > I was wondering if Prototype had something in store to deal with JSONP > (my research online seems to indicate that it doesn't but you can > never be sure). You are correct that it does not include that functionality. I was actually thinking of wri

[Proto-Scripty] Re: JSON form generator demo

2009-02-22 Thread nlloyds
Diodeus, On Feb 20, 3:32 pm, Diodeus wrote: > Hello Prototypers, > > I've been working on a JSON-based form generator that uses Prototype. > > Basically it allows you provide a form specification using JSON and > the engine generates the output dynamically. > > It's still in the early stages but

[Proto-Scripty] Re: Possible incompatibility with JSON library?

2009-01-26 Thread nlloyds
Richard, > What happens if you load prototype first? I think it does the same thing no matter which order the scripts are loaded. Thanks, Nathan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.

[Proto-Scripty] Re: Possible incompatibility with JSON library?

2009-01-26 Thread nlloyds
Jerod, On Jan 25, 8:34 pm, Jerod Venema wrote: > Not sure about the bug, but is there a reason you can't use the prototype > JSON methods? I've got a workaround in place, but I'm working on an app that doesn't normally depend on Prototype.js, but breaks when it's there. There are other componen

[Proto-Scripty] Possible incompatibility with JSON library?

2009-01-25 Thread nlloyds
I'm using this code: http://www.json.org/json2.js";> https://ajax.googleapis.com/ajax/libs/ prototype/1.6.0.3/prototype.js"> document.write(JSON.stringify([])); Which will output null with the Prototype script tag. If that tag is removed, the output is [], as I had expected. I beli

[Proto-Scripty] Re: reserved words for prototype and/or scriptaculous?

2009-01-15 Thread nlloyds
Geoff, > 'afraid I'm not able to follow all you've written but could you just > explain what you mean by "avoiding inline event handlers"? > > onClick="getData(this.form)"> > > Would above have to be changed/replaced? An inline event handler means you're putting scripts in html elements instead

[Proto-Scripty] Re: Inheritance question

2009-01-14 Thread nlloyds
Cyrus, On Jan 14, 1:50 am, Cyrus wrote: > I am seeing myself copying the whole Sortable because it cannot be > inherited. I don't know if it's been mentioned, but you since Sortable is just an object you could try extending it with your own methods like this var MySortable = Object.extend({

[Proto-Scripty] Re: Its a nice idea to be implemented in core

2008-11-16 Thread nlloyds
On Nov 15, 11:12 am, buda <[EMAIL PROTECTED]> wrote: > Look at this > article:http://weblogs.asp.net/infinitiesloop/archive/2008/11/09/asp-net-ajax... > > may be its a good idea to be implemented in prototype core? Take a look at LivePipe's Object.Event. It implements similar functionality: http