writing a code block with auto indent. no manual tab开发者_JAVA技巧bing...
$(document).ready(function() {
$("#welc").toggle(function() {
$(this).val("hello");
}, function() {
$(this).val('hell');
});
});
</script>
got a result like that but it should be like:
<script type="text/javascript">
$(document).ready(function() {
$("#welc").toggle(function() {
$(this).val("hello");
}, function() {
$(this).val('hell');
});
});
</script>
a bug or i am missing something?
Please check this issue. Should be addressed in 2.1.1 or next update.
精彩评论