|
List Info
Thread: Howto find scriptaculous version in rails?
|
|
| Howto find scriptaculous version in
rails? |

|
2006-11-20 20:45:42 |
Wondering where I can find out what version of scriptaculous
I'm using?
I'm using the version shipped with rails 1.1.6. Doesn't seem
to be any
version info in effects.js, dragdrop.js,...
thanks,
Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
| Howto find scriptaculous version in
rails? |

|
2006-11-20 20:53:58 |
On 20.11.2006, at 22.45, tom wrote:
>
> Wondering where I can find out what version of
scriptaculous I'm
> using?
> I'm using the version shipped with rails 1.1.6. Doesn't
seem to be any
> version info in effects.js, dragdrop.js,...
public/javascripts/scriptaculous.js:
// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us,
http://
mir.aculo.us)
//
// Permission is hereby granted, free of charge, to any
person obtaining
// a copy of this software and associated documentation
files (the
// "Software"), to deal in the Software without
restriction, including
// without limitation the rights to use, copy, modify,
merge, publish,
// distribute, sublicense, and/or sell copies of the
Software, and to
// permit persons to whom the Software is furnished to do
so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice
shall be
// included in all copies or substantial portions of the
Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT
WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT
HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN
ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
var Scriptaculous = {
Version: '1.6.1',
require: function(libraryName) {
// inserting via DOM fails in Safari 2.0, so brute
force approach
document.write('<script
type="text/javascript" src="'+libraryName
+'"></script>');
},
...
Cheers,
//jarkko
--
Jarkko Laine
http://jlaine.net
http://dotherightthing.com
http://www.railsecommer
ce.com
http://odesign.fi
|
|
| Howto find scriptaculous version in
rails? |

|
2006-11-20 21:22:51 |
ahh, don't have a scriptaculous.js file?
On Nov 20, 3:53 pm, Jarkko Laine <jar... jlaine.net> wrote:
> On 20.11.2006, at 22.45, tom wrote:
>
>
>
> > Wondering where I can find out what version of
scriptaculous I'm
> > using?
> > I'm using the version shipped with rails 1.1.6.
Doesn't seem to be any
> > version info in effects.js,
dragdrop.js,...public/javascripts/scriptaculous.js:
>
> // Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us,
http://
> mir.aculo.us)
> //
> // Permission is hereby granted, free of charge, to any
person obtaining
> // a copy of this software and associated documentation
files (the
> // "Software"), to deal in the Software
without restriction, including
> // without limitation the rights to use, copy, modify,
merge, publish,
> // distribute, sublicense, and/or sell copies of the
Software, and to
> // permit persons to whom the Software is furnished to
do so, subject to
> // the following conditions:
> //
> // The above copyright notice and this permission
notice shall be
> // included in all copies or substantial portions of
the Software.
> //
> // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT
WARRANTY OF ANY KIND,
> // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF
> // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
AND
> // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT
> HOLDERS BE
> // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN
> ACTION
> // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
OR IN CONNECTION
> // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
>
> var Scriptaculous = {
> Version: '1.6.1',
> require: function(libraryName) {
> // inserting via DOM fails in Safari 2.0, so brute
force approach
> document.write('<script
type="text/javascript" src="'+libraryName
> +'"></script>');
> },
>
> ...
>
> Cheers,
> //jarkko
>
> --
> Jarkko Lainehttp://jlaine.nethttp:/
/dotherightthing.comhttp://www.railsecommerce.comhttp://odes
ign.fi
>
> smime.p7s
> 3KDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
| Howto find scriptaculous version in
rails? |

|
2006-11-21 09:16:14 |
scriptaculous.js isn't included with Rails, because the
rails code
automatically
loads in the right libs (<%= javascript_include_tag
:defaults %>).
You can determine the version that comes with Rails by
having a look
into the CHANGELOG:
http://dev.rubyonrails.org/browser/tags/rel_
1-1-6/railties/CHANGELOG
So, Rails comes with script.aculo.us as of April, and uses a
modified
version of 1.6.
(I admit this is a bit confusing!)
Note that script.aculo.us itself is currently at 1.6.5. The
new Rails
1.2 release candidate, that
should be available soonish, will include script.aculo.us
1.7 beta.
You can download script.aculo.us 1.6.5 and use it with Rails
1.1.6.
-Thomas
Am 20.11.2006 um 22:22 schrieb Tom Dyer:
>
> ahh, don't have a scriptaculous.js file?
>
> On Nov 20, 3:53 pm, Jarkko Laine <jar... jlaine.net> wrote:
>> On 20.11.2006, at 22.45, tom wrote:
>>
>>
>>
>>> Wondering where I can find out what version of
scriptaculous I'm
>>> using?
>>> I'm using the version shipped with rails 1.1.6.
Doesn't seem to
>>> be any
>>> version info in effects.js,
dragdrop.js,...public/javascripts/
>>> scriptaculous.js:
>>
>> // Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us,
http://
>> mir.aculo.us)
>> //
>> // Permission is hereby granted, free of charge, to
any person
>> obtaining
>> // a copy of this software and associated
documentation files (the
>> // "Software"), to deal in the Software
without restriction,
>> including
>> // without limitation the rights to use, copy,
modify, merge,
>> publish,
>> // distribute, sublicense, and/or sell copies of
the Software, and to
>> // permit persons to whom the Software is furnished
to do so,
>> subject to
>> // the following conditions:
>> //
>> // The above copyright notice and this permission
notice shall be
>> // included in all copies or substantial portions
of the Software.
>> //
>> // THE SOFTWARE IS PROVIDED "AS IS",
WITHOUT WARRANTY OF ANY KIND,
>> // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE WARRANTIES OF
>> // MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND
>> // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
OR COPYRIGHT
>> HOLDERS BE
>> // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN
>> ACTION
>> // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN
>> CONNECTION
>> // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
>>
>> var Scriptaculous = {
>> Version: '1.6.1',
>> require: function(libraryName) {
>> // inserting via DOM fails in Safari 2.0, so
brute force
>> approach
>> document.write('<script
type="text/javascript"
>> src="'+libraryName
>> +'"></script>');
>> },
>>
>> ...
>>
>> Cheers,
>> //jarkko
>>
>> --
>> Jarkko Laineht
tp://jlaine.nethttp://dotherightthing.comhttp://
>> www.railsecommerce.comhttp://odesign.fi
>>
>> smime.p7s
>> 3KDownload
>
>
> >
--
Thomas Fuchs
wollzelle
http://www.wollzelle.com
questentier on AIM
madrobby on irc.freenode.net
http://www.fluxiom.com
:: online digital asset management
http://script.aculo.us
:: Web 2.0 JavaScript
http://mir.aculo.us ::
Where no web developer has gone before
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to
rubyonrails-spinoffs googlegroups.com
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe googlegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=
en
-~----------~----~----~----~------~----~------~--~---
|
|
[1-4]
|
|