Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit 2a58f0b

Browse files
authored
Merge pull request #153 from apiaryio/kylef/emcc
Remove workarounds for drafter.js inside drafter
2 parents a41868e + 2cd3fbb commit 2a58f0b

File tree

7 files changed

+6
-162
lines changed

7 files changed

+6
-162
lines changed

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Vagrantfile
44
Dockerfile
55
provisioning.sh
66
scripts/
7-
drafter/emcc/
87
drafter/tools/
98
drafter/*.xc*
109
drafter/features

common.gypi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@
9797
[ 'OS in "linux freebsd openbsd solaris android"', {
9898
'cflags': [ '-Wall', '-Wextra', '-Wno-unused-parameter', ],
9999
'cflags_cc!': [ '-fno-rtti', '-fno-exceptions' ],
100+
'cflags_cc': [ '-std=c++11' ],
100101
'ldflags': [ '-rdynamic' ],
101102
'target_conditions': [
102103
['_type=="static_library"', {

drafter

Submodule drafter updated 84 files

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
"chai": "~1.9.0"
2222
},
2323
"scripts": {
24-
"prepublish": "node scripts/prepublish",
25-
"postpublish": "node scripts/cleanup",
2624
"test": "mocha --compilers coffee:coffee-script -R spec ./test/*-test.coffee"
2725
},
2826
"license": "MIT"

scripts/cleanup

Lines changed: 0 additions & 15 deletions
This file was deleted.

scripts/prepublish

Lines changed: 0 additions & 15 deletions
This file was deleted.

test/fixtures/sample-api-sourcemap.json

Lines changed: 4 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -120,18 +120,7 @@
120120
],
121121
"body": [],
122122
"schema": [],
123-
"content": [
124-
{
125-
"name": [],
126-
"typeDefinition": [
127-
[
128-
321,
129-
21
130-
]
131-
],
132-
"sections": []
133-
}
134-
]
123+
"content": []
135124
}
136125
]
137126
}
@@ -186,58 +175,7 @@
186175
"content": []
187176
}
188177
],
189-
"content": [
190-
{
191-
"name": [
192-
[
193-
30,
194-
28
195-
]
196-
],
197-
"typeDefinition": [],
198-
"sections": [
199-
[
200-
{
201-
"name": [
202-
[
203-
191,
204-
12
205-
]
206-
],
207-
"description": [],
208-
"valueDefinition": [
209-
[
210-
191,
211-
12
212-
]
213-
],
214-
"sections": []
215-
},
216-
{
217-
"name": [
218-
[
219-
209,
220-
45
221-
]
222-
],
223-
"description": [
224-
[
225-
209,
226-
45
227-
]
228-
],
229-
"valueDefinition": [
230-
[
231-
209,
232-
45
233-
]
234-
],
235-
"sections": []
236-
}
237-
]
238-
]
239-
}
240-
]
178+
"content": []
241179
}
242180
]
243181
}
@@ -354,18 +292,7 @@
354292
],
355293
"body": [],
356294
"schema": [],
357-
"content": [
358-
{
359-
"name": [],
360-
"typeDefinition": [
361-
[
362-
321,
363-
21
364-
]
365-
],
366-
"sections": []
367-
}
368-
]
295+
"content": []
369296
}
370297
]
371298
}
@@ -420,58 +347,7 @@
420347
"content": []
421348
}
422349
],
423-
"content": [
424-
{
425-
"name": [
426-
[
427-
30,
428-
28
429-
]
430-
],
431-
"typeDefinition": [],
432-
"sections": [
433-
[
434-
{
435-
"name": [
436-
[
437-
191,
438-
12
439-
]
440-
],
441-
"description": [],
442-
"valueDefinition": [
443-
[
444-
191,
445-
12
446-
]
447-
],
448-
"sections": []
449-
},
450-
{
451-
"name": [
452-
[
453-
209,
454-
45
455-
]
456-
],
457-
"description": [
458-
[
459-
209,
460-
45
461-
]
462-
],
463-
"valueDefinition": [
464-
[
465-
209,
466-
45
467-
]
468-
],
469-
"sections": []
470-
}
471-
]
472-
]
473-
}
474-
]
350+
"content": []
475351
}
476352
]
477353
}

0 commit comments

Comments
 (0)