Skip to content

Commit

Permalink
v0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
madrobby committed Jan 21, 2011
1 parent 1ff401a commit 35f2632
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'rake'
require 'rake/packagetask'

ZEPTO_VERSION = "0.3"
ZEPTO_VERSION = "0.4"

ZEPTO_ROOT = File.expand_path(File.dirname(__FILE__))
ZEPTO_SRC_DIR = File.join(ZEPTO_ROOT, 'src')
Expand Down
8 changes: 4 additions & 4 deletions test/zepto.html
Original file line number Diff line number Diff line change
Expand Up @@ -460,15 +460,15 @@ <h1>Zepto DOM unit tests</h1>
t.assertEqual("", $('#htmltest3').html());

t.assertNull($('doesnotexist').html());

div.html('yowza');
div.html(function(idx, html){
return html.toUpperCase();
});
t.assertEqual('YOWZA', div.html());

div.html('<u>a</u><u>b</u><u>c</u>');

$('u').html(function(idx,html){
return idx+html;
});
Expand Down Expand Up @@ -691,7 +691,7 @@ <h1>Zepto DOM unit tests</h1>
t.assertEqual('id', els.attr("data-id"));
t.assertEqual('name', els.attr("data-name"));
t.assertEqual('id', $('#attr_2').attr('data-id'));

els.attr('data-id', function(idx,oldvalue){
return idx+oldvalue;
});
Expand Down

0 comments on commit 35f2632

Please sign in to comment.