<commit_before><!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <script src="avalon.js"></script>
        <script>
            require("avalon.live", function() {
                var model = avalon.define("test", function(vm) {
                    vm.array = [1, 2, 3, 4]
                    vm.fn = function() {
                        console.log(this.innerHTML)
                    }
                    vm.aaa = "0000"
                    vm.bbb = "<b>ddd</b>"
                })
                avalon.scan()
            })

        </script>
    </head>
    <body>
        <div ms-controller="test">
            <div>11111111111</div>
            <div>22222{{aaa}}2222{{bbb|html|uppercase}}</div>
            <div>33333333333</div>
        </div>
    <table ms-controller="test">
            <tr ms-each="array"><td ms-click="fn">{{el}}</td></tr>
        </table>
    </body>
</html><commit_msg>update example<commit_after><!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <script src="avalon.js"></script>
        <script>
            var model = avalon.define("simple", function(vm) {
                vm.background = "red"
                vm.$watch("background", function(v) {
                    vm.background = v//将数组转换为字符串
                });
            })
        </script>
    </head>
    <body>
        <div ms-controller="simple">
            <div style="width:200px; height:50px" ms-css-background="background">

            </div>
            <select ms-duplex="background">
                <option value="red">红</option>
                <option value="yellow">黄</option>
                <option value="green">绿</option>
            </select>
        </div>
    </body>
</html>
{'fraction_non_alphanumeric': 0.16793893129770993, 'fraction_numerical': 0.025081788440567066, 'mean_word_length': 1.47638326585695, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1473005', 'n_tokens_mistral': 599, 'n_tokens_neox': 539, 'n_words': 90}