Displaying 20 results from an estimated 42 matches for "setinterval".
Did you mean:
getinterval
2013 Jan 22
1
rails datatables refresh javascript
...ebserver for refreshes and hence, no refreshes on
the web page itself.
Here''s my code:
app/assets/javascripts/comments.js.coffee
[code]
jQuery ->
$(''#comments_id'').dataTable
sPaginationType: "full_numbers"
bJQueryUI: true
bProcessing: true
setInterval(''$("#comments_id").dataTable().fnDraw()'', 1000);
[/code]
And here is the code that gets generated on the client side:
[code]
(function() {
jQuery(function() {
$(''#comments_id'').dataTable({
sPaginationType: "full_numbe...
2007 Mar 14
0
10 commits - libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader.h libswfdec/swfdec_loadertarget.c
...ace/netstream-onstatus-notfound.swf |binary
test/trace/netstream-onstatus-notfound.swf.trace | 6
test/trace/netstream-onstatus.c | 44 +++++
test/trace/netstream-onstatus.swf |binary
test/trace/netstream-onstatus.swf.trace | 12 +
test/trace/setinterval-arguments.as | 4
test/trace/setinterval-arguments.swf |binary
test/trace/setinterval-arguments.swf.trace | 4
test/trace/trace.c | 15 +
test/trace/video.flv |binary
23 files changed, 383 insertion...
2007 Feb 19
0
22 commits - libswfdec/js libswfdec/swfdec_debugger.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_script.c
...trace/local.swf |binary
test/trace/local.swf.trace | 3
test/trace/parent-root.swf |binary
test/trace/parent-root.swf.trace | 2
test/trace/preload.swf |binary
test/trace/preload.swf.trace | 4
test/trace/setinterval-clear.swf |binary
test/trace/setinterval-clear.swf.trace | 3
test/trace/setinterval.swf |binary
test/trace/setinterval.swf.trace | 21 ++++
test/trace/setinterval2.swf |binary
test/trace/setinterval2.swf.trace | 5
28 files changed, 356 in...
2005 Jun 28
2
Problems with repeated calls to setTimeout?
...calls
for timed looping, for instance in time-based observers.
On Konqueror 3.4.1 (possibly other khtml-based browsers, too), these
observers reproducibly crash the browser. Just keeping open a browser
with such an observer is enough. After some time it invariably
segfaults. When I substitute setInterval for setTimeout (mutatis
mutandis), no such thing occurs. For instance, when I open
http://mir.aculo.us/
in a fresh browser and wait for a couple of minutes, Konqueror crashes.
I''ve tried to track the problem down, but it''s not as easy as just
looped calls to setTimeout or eve...
2008 Jun 13
3
dynamically change frequency in periodicalUpdater
Hello All,
I''ve seen this topic but it seems no one has post a response. I''m
using periodicalUpdater to display live content queried from a
database. Sometimes the result can be thousands of rows and before it
finishes processing (displaying as a visual indicator) all the data,
the next request is sent to the server. I''d like to have a
periodicalUpdater whose
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...function
register variables are 1-indexed
shuffle disposing around again so timeouts get properly removed
arguments.toString() returns the empty string
Freeing of timeouts doesn't work - revert to old system
add check to ensure preloading works
add tests for setInterval/clearInterval
implement setInterval and clearInterval
It looks like Flash doesn't create a local scope for the entry scripts, so don't do it either
add test for local scope using DefineLocal
Add missing \n to print statements
Add a warning in CallMethod if a fu...
2006 Sep 20
5
[Slightly OT] Uploading files with firefox
I have been successfully using the latest mongrel and upload progress
plugin with safari but firefox seems to have some issues with any
request
that takes longer than 5 seconds to complete. You get the "Warning:
Unresponsive Script" screen. Apparently this problem is fixable by
following this:
http://computer-vet.com/weblog/2006/04/28/
firefox_warning_unresponsive_script.html
2007 Jun 01
0
Branch 'as' - 2 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c libswfdec/swfdec_interval.c libswfdec/swfdec_interval.h libswfdec/swfdec_player_as.c libswfdec/swfdec_player.c
...-------------
7 files changed, 320 insertions(+), 132 deletions(-)
New commits:
diff-tree 89c4d90d1c31e4bba4b15f8419f7ebd13cd6cbb8 (from 4576fa2edfba68cb8edc199287ecf773a09cc7df)
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Jun 1 21:32:43 2007 +0200
reenable intervals
setInterval and clearInterval should work now
diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am
index d9b7b68..d701d51 100644
--- a/libswfdec/Makefile.am
+++ b/libswfdec/Makefile.am
@@ -80,6 +80,7 @@ libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES
swfdec_graphic_movie.c \
swfdec_html_parser.c \
swf...
2006 Jan 14
1
Really Slow Effects
Hi,
Please check out http://rixth.org/index.php (you can login with
username mr password mouse). Create a todo list, then press ''open''.
Add a few items (after about 8, is when it happens to me) then click
close. THe animation is not very smooth for me, it only displays about
3 frames. This is not because it is pushing a lot of content down
(look at the scriptalucous wiki effects
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...function
register variables are 1-indexed
shuffle disposing around again so timeouts get properly removed
arguments.toString() returns the empty string
Freeing of timeouts doesn't work - revert to old system
add check to ensure preloading works
add tests for setInterval/clearInterval
implement setInterval and clearInterval
It looks like Flash doesn't create a local scope for the entry scripts, so don't do it either
add test for local scope using DefineLocal
Add missing \n to print statements
Add a warning in CallMethod if a fu...
2007 Feb 23
4
Does Ajax.PeriodicalUpdater have a shield against multiple parallel executions?
Hello
Does Ajax.PeriodicalUpdater have a shield against multiple parallel
executions?
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email
2007 Aug 22
0
3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c test/trace
...l = clearInterval;
+_global.clearTimeout = clearTimeout;
+_global.enableDebugConsole = enableDebugConsole;
+_global.escape = escape;
+_global.flash = flash;
+_global.isFinite = isFinite;
+_global.isNaN = isNaN;
+_global.o = o;
+_global.parseFloat = parseFloat;
+_global.parseInt = parseInt;
+_global.setInterval = setInterval;
+_global.setTimeout = setTimeout;
+_global.showRedrawRegions = showRedrawRegions;
+_global.textRenderer = textRenderer;
+_global.trace = trace;
+_global.unescape = unescape;
+_global.updateAfterEvent = updateAfterEvent;
+#endif
function new_empty_object () {
var hash = new Obje...
2006 Mar 09
5
Comet support?
Just out of curiosity, is there a plan to support Comet (name coined by the
dojo guys) w/ prototype? Comet represents persisting an http connection for
low latency data operations. It also represents a nice alternative to
polling.
Jim
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2007 Jul 18
1
RMagick progress monitor with backgroundrb - possible?
I''m looking for a way to give the user a progress monitor on large
image manipulations with RMagick. I first looked at this method -
http://www.imagemagick.org/RMagick/doc/imageattrs.html#monitor - to do
it in a controller action, but since I can''t call multiple renders in
an action, I would need to store the progress in the database and call
another action from javascript to
2006 Apr 10
2
Any way to implement delay() with ruby code?
That is, is there any way to do something like an RJS page.delay()
except with
ruby code statements in the body instead of RJS statements?
If not, what kind of options would I have for wanting to execute a set
of statements n seconds in the future?
Thanks,
Andy
--
Posted via http://www.ruby-forum.com/.
2007 Sep 23
1
Does prototype get rid of PeriodicalExecuter once it is stop()?
Hello,
in my app the user can click "start" to ask for regular refreshments
of the data, and can also click "stop" to stop this refreshments (and
then he can click "start" again to restart the process). im just
wondering that , if he keeps starting and stopping, that is creating
new PeriodicalExecuters and stoping them, if there will be any memory
issues, does
2007 Feb 22
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_js.c libswfdec/swfdec_js_mouse.c libswfdec/swfdec_listener.c libswfdec/swfdec_listener.h libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_root_movie.c
...{0,0,0,0,0}
};
diff-tree c37787b576447a80f90421643ffdf4dfbeae9350 (from 4ce0d0abb3f64d0b93d9718051344275be5bdedb)
Author: Benjamin Otte <otte@gnome.org>
Date: Tue Feb 20 15:01:58 2007 +0100
call _perform_actions after scheduling timeouts
This ensures that timeouts added via setInterval that schedule actions
(most likely gotoFrame) get executed properly and we don't hit assertions
that want the action count to be empty.
The patch also adds some debugging.
diff --git a/libswfdec/swfdec_player.c b/libswfdec/swfdec_player.c
index 2f7deef..76c93e7 100644
--- a/libswfd...
2007 Aug 23
0
10 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_object.c test/trace
...constructor (hp) = _global.Object.constructor
+_global.isNaN = function
+ __proto__ (hp) = _global.Object.__proto__
+ constructor (hp) = _global.Object.constructor
+_global.parseInt = function
+ __proto__ (hp) = _global.Object.__proto__
+ constructor (hp) = _global.Object.constructor
+_global.setInterval = function
+ __proto__ (hp) = _global.Object.__proto__
+ constructor (hp) = _global.Object.constructor
+_global.unescape = function
+ __proto__ (hp) = _global.Object.__proto__
+ constructor (hp) = _global.Object.constructor
diff --git a/test/trace/global-function-properties-7.swf b/test/trace/g...
2007 Aug 18
0
8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object_as.h libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h
...d: " + obj._bytesLoaded);
+trace ("Total: " + obj._bytesTotal);
+trace (obj.load ("404"));
+trace ("Loaded: " + obj._bytesLoaded);
+trace ("Total: " + obj._bytesTotal);
+
+function quit () {
+ loadMovie ("FSCommand:quit", "");
+};
+
+setInterval (quit, 1000);
+'
+Loaded: 755
+Total: 755
+Got: undefined ''
+Loaded: 755
+Total: 755
diff --git a/test/trace/loadobject-6.swf b/test/trace/loadobject-6.swf
new file mode 100644
index 0000000..3a19ff4
Binary files /dev/null and b/test/trace/loadobject-6.swf differ
diff --git a/test/trac...
2008 May 07
2
prototype PeriodicalExecuter pause/restart patch
...cy) {
this.callback = callback;
this.frequency = frequency;
this.currentlyExecuting = false;
this.lastExec = this.now();
this.paused = false;
this.pausedAt = 0;
this.accumTimePaused = 0;
this.registerCallback();
},
registerCallback: function() {
this.timer = setInterval(this.onTimerEvent.bind(this),
this.frequency * 1000);
},
execute: function() {
this.callback(this);
},
pause: function(){
if (this.paused) return;
this.stop();
this.paused = true;
this.pausedAt = this.now();
return true;
},
timeLeft: function(){
if(this.pa...