Skip to content

Commit

Permalink
Fix iOS not support Lookbehind in JS regular expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
konrad-k committed Nov 14, 2023
1 parent 63b2757 commit 2161df2
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/jQueryRoomGallery.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/roomGallery.css

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/RoomGallery.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/RoomGallery.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/demo.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/jQueryRoomGallery.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "room-gallery",
"version": "1.0.0-beta",
"version": "1.0.1-beta",
"description": "Room Gallery: A 3D Exhibit - A Responsive 3D Image Slider Implemented in TypeScript as a React Component, Utilizing Vanilla JavaScript and jQuery",
"keywords": [
"slider",
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/parse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ export function parseWalls(items: Array<ItemType>, preItems: Array<ItemType>, pr
}

export const kebabize = (string: string) => {
const upper = /(?<!\p{Uppercase_Letter})\p{Uppercase_Letter}|\p{Uppercase_Letter}(?!\p{Uppercase_Letter})/gu
const upper = /(?:!\p{Uppercase_Letter})\p{Uppercase_Letter}|\p{Uppercase_Letter}(?!\p{Uppercase_Letter})/gu
return string.replace(upper, '-$&').replace(/^-/, '').toLowerCase()
}
2 changes: 1 addition & 1 deletion src/sass/room-gallery.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Formir - Room Gallery v1.0.0-beta by @konrad-k - https://formir.io/room-gallery/
* Formir - Room Gallery v1.0.1-beta by @konrad-k - https://formir.io/room-gallery/
* All rights reserved - Copyright © 2023
*/
// FONTS
Expand Down

0 comments on commit 2161df2

Please sign in to comment.