Skip to content

Commit ca9a1de

Browse files
committed
standalone build seems not work. remove it first
1 parent ad19e12 commit ca9a1de

File tree

4 files changed

+6
-31
lines changed

4 files changed

+6
-31
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,6 @@ include required js file:
3939
```
4040

4141

42-
## Bundle File
43-
44-
ctrlz depends on `ot-json0` and `json0-ot-diff`. Related code are bundled and shipped alone with ctrlz, in both standalone and requireJS format.
45-
46-
47-
4842
## License
4943

5044
MIT.

build

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,6 @@ if [ "$1" != "fast" ]; then
3131
./node_modules/.bin/browserify \
3232
-p tinyify -r diff-match-patch | ./node_modules/.bin/uglifyjs >> dist/ot-json0.js
3333

34-
echo " - ot-json0 ( standalone ) ... "
35-
./node_modules/.bin/browserify \
36-
--standalone otJson0 \
37-
-g unassertify \
38-
-g envify \
39-
-g uglifyify \
40-
-p browser-pack-flat/plugin \
41-
-r ot-json0 | ./node_modules/.bin/uglifyjs > dist/ot-json0.standalone.js
42-
# common-shakeify breaks this module, so remove it.
43-
# -p common-shakeify \
44-
45-
echo " - json0-ot-diff ( standalone ) ... "
46-
./node_modules/.bin/browserify --standalone json0OtDiff \
47-
-p tinyify -r json0-ot-diff | buble | ./node_modules/.bin/uglifyjs >> dist/ot-json0.standalone.js
48-
49-
echo " - diff-match-patch ( standalone ) ... "
50-
./node_modules/.bin/browserify --standalone diffMatchPatch \
51-
-p tinyify -r diff-match-patch | ./node_modules/.bin/uglifyjs >> dist/ot-json0.standalone.js
52-
5334
# for discify analysis
5435
./node_modules/.bin/browserify --full-paths -s otJson0 -r ot-json0 | ./node_modules/.bin/uglifyjs | discify > web/static/ot-json0.html
5536
./node_modules/.bin/browserify --full-paths -s json0OtDiff -r json0-ot-diff | buble | ./node_modules/.bin/uglifyjs | discify > web/static/json0-ot-diff.html

0 commit comments

Comments
 (0)