Skip to content
This repository was archived by the owner on Jan 16, 2020. It is now read-only.

Commit cfc767c

Browse files
committed
Merge branch 'preBeta2' of git@github.com:jquery/jquery-datalink.git into preBeta2
2 parents b8fbc3c + 0f1e720 commit cfc767c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

beta2/simple-explicit.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ <h3>Declarative</h3>
2828
<span class="convertedFirstName"></span>
2929
<span data-field="address.city"></span>
3030
</p>
31-
3231
</form>
3332

3433
<script type="text/javascript">
@@ -64,7 +63,6 @@ <h3>Declarative</h3>
6463

6564
$("#myDeclarative").change(function(event) {
6665
$.each( $(this).serializeArray(), function(index, object) {
67-
//person[object.name] = object.value;
6866
set(person, object.name, object.value);
6967
});
7068
$(person).trigger("refresh");
@@ -76,7 +74,6 @@ <h3>Declarative</h3>
7674
});
7775
$("[data-field]").each(function() {
7876
var field = $(this).data("field");
79-
//$(this).text(person[field]);
8077
$(this).text(get(person, field));
8178
});
8279
$("input").each(function() {

0 commit comments

Comments
 (0)