Skip to content

Commit

Permalink
Merge pull request #18 from ernestmarcinko/typings
Browse files Browse the repository at this point in the history
highlight argument fix
  • Loading branch information
ernestmarcinko authored Jul 11, 2024
2 parents a8025b8 + 721238d commit 0f87f8a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/domini-core.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/domini.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion domini.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ declare module "domini" {
element: 'span'
}) => this,

highlight: (word: string, options?: {
highlight: (word: string|string[], options?: {
className?: string,
element?: string,
caseSensitive?: boolean,
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": "domini",
"version": "0.2.6",
"version": "0.2.7",
"description": "Minimalistic DOM manipulation tool",
"main": "dist/domini.js",
"types": "domini.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ if ( typeof window.DoMini == 'undefined' ) {
// Utility functions container
DoMini._fn = {};

DoMini.version = "0.2.6";
DoMini.version = "0.2.7";
} else {
DoMini = window.DoMini;
}
Expand Down

0 comments on commit 0f87f8a

Please sign in to comment.