From 20e0bdef9f213b4aaf64ce29582a26c8fa42caee Mon Sep 17 00:00:00 2001 From: Piotr Mitros Date: Sun, 1 Jan 2012 19:28:26 -0500 Subject: [PATCH] Backup files not tracked --- .hgignore | 4 ++++ seq_module.html~ | 7 ------- seq_module.js~ | 38 -------------------------------------- 3 files changed, 4 insertions(+), 45 deletions(-) create mode 100644 .hgignore delete mode 100644 seq_module.html~ delete mode 100644 seq_module.js~ diff --git a/.hgignore b/.hgignore new file mode 100644 index 0000000000..2cbcd4c8ab --- /dev/null +++ b/.hgignore @@ -0,0 +1,4 @@ +syntax: glob +*.pyc +*~ + diff --git a/seq_module.html~ b/seq_module.html~ deleted file mode 100644 index a50c9b2c8e..0000000000 --- a/seq_module.html~ +++ /dev/null @@ -1,7 +0,0 @@ -
-% for t in items: -
- ${t[1]['content']} -
-% endfor -
diff --git a/seq_module.js~ b/seq_module.js~ deleted file mode 100644 index b38df10a7e..0000000000 --- a/seq_module.js~ +++ /dev/null @@ -1,38 +0,0 @@ -files=["1.html", "2.html", "3.html", "4.html", "5.html", "6.html", "7.html", "8.html", "9.html", "10.html"]; - -var loc; - -function goto(i) { - $('#content').html(files[i]); - loc=i; -} - -function setup_click(i) { - $.get(i+'.html', function(data){ - files[i]=data; - }) - $('#tt_'+i).click(function(eo) { goto(i);}); -} - -function next() { - loc=loc+1; - if(loc>10) loc=10; - goto(loc); -} - -function prev() { - loc=loc-1; - if(loc<1) loc=1; - goto(loc); -} - -$(function() { - var i; - for(i=1; i<11; i++) { - setup_click(i); - } - $('#next').click(function(eo) { next();}); - $('#prev').click(function(eo) { prev();}); - }); - -$('#debug').text('loaded'); \ No newline at end of file