Skip to content

Commit

Permalink
Refactor HashtagScriptManager's convertListStringToObj method
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackRam-oss committed Oct 31, 2024
1 parent cc76230 commit a6f7569
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/managers/HashtagScriptManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,6 @@ export default class HashtagScriptManager {
* { "duration": 3, "x": 2, "y": 3, "name": "C J", "surname": "Smith", "position": { x: 2, y 3 } }
*/
private static convertListStringToObj(listParm: string[]): object {
// listParm.length must be even
if (listParm.length % 2 !== 0) {
throw new Error("[Pixi’VN Ink] Error parsing ink json, the list must be even");
}
let list: string[] = []
let curly_brackets = 0;
let temp = "";
Expand Down

0 comments on commit a6f7569

Please sign in to comment.