This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timeEvents = Object() | |
timeEvents["#somevid"]["125"] = function(){ $("#somediv").show() } | |
function timeListener(el) { | |
$(el).bind('timeupdate', function(){ | |
time = this.currentTime; | |
if timeEvents[el][time] | |
timeEvents[el][time]() | |
}); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> from pinax.apps.projects.models import Project | |
>>> from django.contrib.auth.models import User | |
>>> from pinax.apps.tasks.models import Task | |
>>> t1 = Task.objects.get(pk=1) | |
>>> t2= Task.objects.get(pk=2) | |
>>> t2.get_absolute_url() | |
Traceback (most recent call last): | |
File "<console>", line 1, in <module> | |
File "/home/issackelly/envs/new/lib/python2.6/site-packages/django/utils/functional.py", line 55, in _curried | |
return _curried_func(*(args+moreargs), **dict(kwargs, **morekwargs)) |
NewerOlder