Skip to content

Commit

Permalink
0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed May 5, 2017
1 parent 7be18f2 commit 7cb4af6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions code/parse.js
@@ -1,4 +1,3 @@
// states.js
const go = 'gogogo'
const good = 'good'
const equals = 'equals'
Expand All @@ -22,12 +21,11 @@ const escapes = {
}

const escape = string =>
string.replace(/\\([\"])/g, (_, character) => escapes[character])
string.replace(/\\([\\"])/g, (_, character) => escapes[character])

// TODO add support for binary data
const tokens = /^\s*(?:([,;=(){}])|"((?:\\"|[^"])*)")/

// string.js
const stringAction = {
[go] () {
state = good
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "nextstep-plist",
"version": "0.0.0",
"version": "0.1.0",
"description": "NeXTSTEP plist parser",
"main": "index.js",
"repository": "git@gitlab.com:chee/nextstep-plist",
Expand Down

0 comments on commit 7cb4af6

Please sign in to comment.