similar to: JavaScript unit testing

Displaying 20 results from an estimated 2000 matches similar to: "JavaScript unit testing"

2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya, I''ve just released script.aculo.us V1.5_pre1. Please give it a try! Important new stuff (since V1.1b1): * Added a main scriptaculous.js file to load in the other libraries transparently. * Fixed a condition where standard a href=xxx links wouldn''t work in autocomplete results. These do now, the onclick event is not cancelled. [thx to Jasper Slits] * Added
2005 Jul 18
13
in place text edit
I''ve written a pretty nice Flickr style in place text edit JavaScript control based on the Script.aculo.us library. API is like this: <span id="editme">Edit me!</span> <script> new InPlaceEditor($(''editme''), ''url/to/action''); </script> Background changes to gray as mouse hovers over the text (like flickr) and the
2006 Jan 29
2
Questions about Sortable javascript
Hi, I''ve been playing with sortable, the demos on script.aculo.us and reading the javascript. I hope I''m not just missing the documentation somewhere but I can''t find it. I want to do something like Sortable for the admin side of an open source ecommerce project I''m working on [1]. I''m relatively new to DHTML but understand the basic ideas. If someone
2006 Mar 29
4
Why doesn''t Rails 1.1 have all the Script.aculo.us 1.6 files?
Why aren''t builder.js, slider.js, and scriptaculous.js part of the Rails 1.1 javascripts? rab:javascripts $ pwd /usr/local/lib/ruby/gems/1.8/gems/rails-1.1.0/html/javascripts rab:javascripts $ ls -l total 288 -rw-r--r-- 1 root wheel 148 Mar 28 08:56 application.js -rw-r--r-- 1 root wheel 28036 Mar 28 08:56 controls.js -rw-r--r-- 1 root wheel 23613 Mar 28 08:56 dragdrop.js
2006 Apr 10
24
Proposal of "Resizable" javascript library
Hi, All. I''ve developed the small javascript library to make the widgets "resizable". Please try attached file or following URL URL: http://221.112.61.214/~kzk/others/mixi/resizer.html Now I wish script.aculo.us developers to merge this into the "script.aculo.us". Is there any chance of merge? Is this a right place to ask this question? Thanks in advance. Kazuki
2005 Sep 25
14
script.aculo.us 1.5 release candidate 1
So, the first script.aculo.us 1.5 release candidate is out! Important changes and fixes from 1.5_pre4 (for a detailed list, see the CHANGELOG file): * Droppables w/greedy and hoverclass are now reverted when dragged item is no longer over them, fixes #2184 * Let Effect.Highlight correctly parse IE colors, add String.prototype.parseColor() for this, fixes #2037 * Make scriptaculous.js work
2005 Jul 08
8
Integrating script.aculo.us into existing javascript codebase
Hi, I''m new to this mailing list, so first off, a big THANK YOU for the script.aculo.us and prototype.js libraries. I''m trying to integrate script.aculo.us into an existing pretty large Javascript codebase (see http://openrecord.org). I''m running into a problem with prototype.js and the existing codebase''s use of for/in loops over an Array.
2008 Apr 03
1
Changing the prototype.js from 1.5.0 to 1.6.0.2 causes error in javascript code.
Hi, I am a new member of this group. We are using autocomplete box from "script.aculo.us". It uses the prototype.js file. We are creating the auto completer dynamically in a table. Our code was working on FireFox(FF) but was giving error on InternetExplorer(IE). So we upgraded the prototype.js file today from version 1.5.0 to 1.6.0.2. Only this particular change was done. When we
2005 Oct 01
8
Ajax.InPlaceEditor on Safari & Firefox
Hi, I''ve downloaded the latest svn trunk and was glad to see that Ajax.InPlaceEditor forms can now be correctly submitted on Safari as well, with the server response being correctly displayed as well. The problem is, however, that clicking again on the same element (after sumbitting it first) will duplicate the submit form. The next attempt will triplicate it etc, etc... Could
2005 Jul 22
2
Unpredictable behavoir using Sortable javascript
Hey all, I''m attempting create a photo album that can be re-ordered using the great scipts from script.aculo.us <http://script.aculo.us>. It seems to work as expected when I pretty much copy and paste the puzzle example but when I try and be a bit trickier (changing the movable elements to be divs containing images) things get wierd. I''m able to "pick" the
2006 Jun 25
17
JavaScript Compression
Is there a good windows-based JavaScript compressor which will reliably compress script aculo and prototype? Sam _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2016 May 04
9
[PATCH 0/8] python: PEP 8 fixes
Hi, this series cleans up the Python sources, either static or generated, including also tests, to make them PEP 8 compliant; see https://www.python.org/dev/peps/pep-0008/ and tools like pep8. Almost all the issues reported by pep8 are fixed, reducing the issues from 3818 to 7. The changes should have no effect on the actual code, while it will help Python users with consistency with other
2006 May 25
5
CSS Effects? (javascript?)
Is there a way to assign a CSS style to an element I am not currently interacting with? For instance, if I have two TD elements of a table. I click on one of them, and I want to have a style change in the other element. Is this possible? I''m guessing script.aculo.us might be able to help me.... but considering how nothing on their site is loading for me right now I have no way of
2006 Jan 11
3
sortables callbacks
i know someone just recently asked about queueing ajax requests, my question is similar in the regards that i don''t want my application to send multiple requests. i have 2 sortabbles lists left, and right. when i move an item from left to the right the onUpdate callback will send 2 ajax requests. one for each sortables. however. i want it to serialize and send back the results from
2016 Feb 12
2
[PATCH] python: tests: use more targeted assert*() functions/checks
- use assertIsInstance, assertNotEqual, and assertIsNotNone as more specific checks (will produce better logging) - use assertRaises when expecting exceptions being thrown - when testing internal_test_rhashtable, instead of checking type and elements of the return values just check the return value as a whole (easier and already getting all the work needed by unittest) ---
2006 Jul 10
17
Effect.SlideDown/Up() and HTML issues
Hello, I''m hoping this is the right place to ask these kind of questions. If not, please excuse me. Anyway, the problem I''m having is that I have a HTML table showing some tabular data and I want to use Effect.SlideDown/Up to allow the user to interactively show "details" for each item (<tr><td> etc) in that list. I''ll do some pseudo-code for
2008 Jan 21
1
JavaScript book recommendations
No, not a question, but a few suggestions. I take it that everyone serious about using Prototype & Co. already has Christophe''s (Porteneuve) Prototype and Script.aculo.us book. Apart from that, I''d like to point out two new, library-agnostic books: Cameron Adams and several others The Art & Science of JavaScript Sitepoint 2008 http://www.sitepoint.com/books/jsdesign1/
2016 Feb 22
3
[PATCH 1/3] python: tests: refactor to use unittest's discovery
Instead of running all the tests manually, the unittest module has a 'discovery' mode to run tests by importing them from a directory: this requires the tests to have different filenames, since they need to be imported as modules now (hence an empty __init__.py is added), and the current naming does not match the convention. Using unittest as loader/runner brings another change: tests
2005 Aug 29
0
script.aculo.us Updates, new Safari
Hey all, 1) script.aculo.us Updates: The last week has seen many updates to the script.aculo.us SVN trunk, see for yourself (and do some testing with the code, please!) A biggest update are the self-running Javascript unit tests, contributed by Jon Tirsen-- also many bug fixes and improvements have made it in. 2) Safari 2.0.1 Today saw the release of a new version of Safari, so, please
2020 Jan 10
8
[PATCH 0/7] Various Python pycodestyle fixes
Fixes the majority of the pycodestyle issues in the Python bindings, leaving only an overly length line in setup.py. Add a simple optional pycodestyle-based test to avoid regressions in the future. Pino Toscano (7): python: PEP 8: adapt empty lines python: PEP 8: adapt whitespaces in lines python: tests: catch specific exception python: tests: improve variable naming python: tests: