Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo committed Feb 24, 2021
1 parent d825d6b commit 5ebbfcc
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.2.0] - 2021-02-20
### Changed
- Added a `parse` public method to allow HTML customized elements after VCI
instantiation

## [1.1.3] - 2021-02-20
### Changed
- First part of a clean & code split rework into core functions
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ import VueCtxInjector from 'vue-ctx-injector'
#### Standalone package

```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/vue-ctx-injector@1.1.2/dist/vue-ctx-injector.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/vue-ctx-injector@1.2.0/dist/vue-ctx-injector.js"></script>
```

You just need to instantiate a new VCI object to start the parsing process.
Expand Down Expand Up @@ -175,6 +175,8 @@ values.*
*
* @optional
* @type {Boolean}
*
* @version [1.1.0]
*/
replaceRoot: true,

Expand All @@ -188,6 +190,8 @@ values.*
*
* @optional
* @type {String}
*
* @version [1.1.0]
*/
componentPrefix: 'v-comp',

Expand All @@ -201,6 +205,8 @@ values.*
*
* @optional
* @type {String}
*
* @version [1.1.0]
*/
propPrefix: 'v:',
}
Expand All @@ -215,10 +221,12 @@ These methods are available and usable directly on the VCI instance.
```

**Description:** Starts a new DOM parsing. Useful to instantiate newly added
"standalone components" HTML elements after VCI instance creation.
HTML customized elements ("standalone components") after VCI instance creation.

**Arguments**: No

*Version: 1.2.0*

## Licensing

Released under the [MIT](https://opensource.org/licenses/MIT) license.
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* VueCtxInjector v1.1.3
* VueCtxInjector v1.2.0
* (c) 2021 Paul Guzda-Rivière (@mekkanix)
* Released under the Apache-2.0 License.
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-ctx-injector",
"version": "1.1.3",
"version": "1.2.0",
"description": "A tool for injecting standalone Vue.js components into HTML contexts.",
"main": "./dist/vue-ctx-injector.js",
"scripts": {
Expand Down

0 comments on commit 5ebbfcc

Please sign in to comment.