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

Commit 4ac8ce5

Browse files
zhangyihui1jianjunz
authored andcommitted
Remove qq.js , and modify some files (#55)
1 parent 9c91a10 commit 4ac8ce5

17 files changed

+1317
-3924
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ node_modules/
44
src/samples/conference/nuve.js
55
src/samples/conference/icsREST.js
66
test/unit/resources/scripts/gen/*
7+
test/p2ptest/node_modules
8+
test/p2ptest/js/q.js

test/p2ptest/.travis/testacular-chrome.config.js

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

test/p2ptest/.travis/testacular-firefox.conf.js

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

test/p2ptest/.travis/testacular-safari.config.js

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

test/p2ptest/fetchq.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import os
2+
import argparse
3+
try:
4+
import urllib2 as u
5+
except:
6+
import urllib.request as u
7+
8+
URL = "https://raw.githubusercontent.com/kriskowal/q/c2f5a6f35456389a806acca50bfd929cbe30c4cb/q.js"
9+
HOME_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__)))
10+
11+
12+
def download():
13+
req = u.Request(URL)
14+
res_data = u.urlopen(req)
15+
with open(os.path.join(HOME_PATH, 'js/q.js'), 'wb') as f:
16+
f.write(res_data.read())
17+
18+
19+
if __name__ == '__main__':
20+
parser = argparse.ArgumentParser(description="Download q.js into ./js")
21+
parser.parse_args()
22+
download()

0 commit comments

Comments
 (0)