Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbegent committed Apr 10, 2015
1 parent 09e0d0c commit 1c4ea65
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -28,7 +28,7 @@ You can also install svelte using bower:
How To
---------------------

Examples of every function can be found on the test page. If you have used other JavaScript like Zepto or jQuery most functions will be familiar to you. For example, to set the text of an element, you would write:
Examples of every function can be found on the test page. If you have used other JavaScript libraries like Zepto or jQuery most functions will be familiar to you. For example, to set the text of an element, you would write:

$('.hello').text('Hello svelte');

Expand Down
31 changes: 0 additions & 31 deletions test/dev.html
Expand Up @@ -161,37 +161,6 @@ <h2>ajax</h2>

console.log($('.test-toggle-trigger').s[0].getBoundingClientRect().left);

// Ajax
$.fn.ajax({
url: "data/test.json",
type: "GET",
success: function(data) {
$(".test-json").text(data);
},
error: function() {
$(".test-json").text("An error has occurred");
}
});

// $.fn.cool = function() {
// return this.each(function(el) {
// el.textContent = 'Cool';
// });
// }

// console.log($.fn);

// $('.cool').cool();

//$('.test-toggle-trigger').trigger('click');








});
</script>

Expand Down

0 comments on commit 1c4ea65

Please sign in to comment.