Skip to content

Commit

Permalink
Updated docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
henry-luo committed Jul 21, 2018
1 parent dd52276 commit bea03d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Could be represented in Mark as:
}
{div class:"form-group"
{label for:"pwd" "Password"}
{input type:"password" id:"pwd"} // comma between properties is optional
{input type:"password" id:"pwd"} // comma is optional
}
{button class:['btn' 'btn-info'] // property with complex values
'Submit' // text quoted with single quote
Expand Down Expand Up @@ -162,7 +162,7 @@ console.log("Greeting from Mark: " + Mark.stringify(obj));
</script>
```

*Note: /dist/mark.js has bundled mark.mutate.js, mark.convert.js and mark.selector.js and all dependencies with it, and is meant to run in browser. The entire script is about 14K after gzip. It supports latest browsers, including Chrome, Safari, Firefox, Edge.*
Note: /dist/mark.js has bundled mark.mutate.js, mark.convert.js and mark.selector.js and all dependencies with it, and is meant to run in browser. The entire script is about 14K after gzip. It supports latest browsers, including Chrome, Safari, Firefox, Edge.

*If you just want the core functional API, without the sub-modules, you can also use mark.core.js, which is only 7K after gzip. You can also refer to the package.json to create your own custom bundle with the sub-modules you need.*

Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Could be represented in Mark as:
}
{div class:"form-group"
{label for:"pwd" "Password"}
{input type:"password" id:"pwd"} // comma between properties is optional
{input type:"password" id:"pwd"} // comma is optional
}
{button class:['btn' 'btn-info'] // property with complex values
'Submit' // text quoted with single quote
Expand Down Expand Up @@ -162,7 +162,7 @@ console.log("Greeting from Mark: " + Mark.stringify(obj));
</script>
```

*Note: /dist/mark.js has bundled mark.mutate.js, mark.convert.js and mark.selector.js and all dependencies with it, and is meant to run in browser. The entire script is about 14K after gzip. It supports latest browsers, including Chrome, Safari, Firefox, Edge.*
Note: /dist/mark.js has bundled mark.mutate.js, mark.convert.js and mark.selector.js and all dependencies with it, and is meant to run in browser. The entire script is about 14K after gzip. It supports latest browsers, including Chrome, Safari, Firefox, Edge.

*If you just want the core functional API, without the sub-modules, you can also use mark.core.js, which is only 7K after gzip. You can also refer to the package.json to create your own custom bundle with the sub-modules you need.*

Expand Down

0 comments on commit bea03d8

Please sign in to comment.