Skip to content

Commit 75635fa

Browse files
committed
fix typo
1 parent 0d56677 commit 75635fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Suppose you need to pass a callback to a JSON object.
2424
];
2525
?>
2626

27-
<scrtip>
27+
<scrtipt>
2828
let bar = <?php echo json_encode($array); ?>;
2929
bar.callback('hello'); //error
3030
</script>
@@ -52,7 +52,7 @@ To get around this problem, use `Raw` objects provided by this package:
5252
];
5353
?>
5454

55-
<scrtip>
55+
<scrtipt>
5656
let bar = <?php echo Encoder::encode($array); ?>;
5757
bar.callback('hello'); //prints hello
5858
</script>

0 commit comments

Comments
 (0)