<commit_before># miniWaterfall
一个小 动态 瀑布流

## 使用

### 调用

```
$("#goods_waterfall").miniWaterfall();
```

### 默认参数

```
{
url: window.location.href,
row: 4, 
row_id: "waterfall_id_",
row_class: "waterfall_class",
tpl_id: "#tpl",
loading_id: "#loading",
page: 1,
perpage: 10
}
```

### json 返回格式

```
{
    "photos": {<commit_msg>更新 readme<commit_after># miniWaterfall
一个小 动态 瀑布流

## 使用

### 调用

```
$("#goods_waterfall").miniWaterfall();
```

或

```
$("#goods_waterfall").miniWaterfall({row: 3, perpage: 20});
```

### 默认参数

```
{
url: window.location.href,
row: 4, 
row_id: "waterfall_id_",
row_class: "waterfall_class",
tpl_id: "#tpl",
loading_id: "#loading",
page: 1,
perpage: 10
}
```

### json 返回格式

```
{
    "photos": {
{'fraction_non_alphanumeric': 0.2327823691460055, 'fraction_numerical': 0.015151515151515152, 'mean_word_length': 4.959016393442623, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, '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': '6826019', 'n_tokens_mistral': 369, 'n_tokens_neox': 355, 'n_words': 62}