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

Commit

Permalink
Remove qq.js , and modify some files (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyihui1 authored and jianjunz committed Dec 27, 2018
1 parent 9c91a10 commit 4ac8ce5
Show file tree
Hide file tree
Showing 17 changed files with 1,317 additions and 3,924 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ node_modules/
src/samples/conference/nuve.js
src/samples/conference/icsREST.js
test/unit/resources/scripts/gen/*
test/p2ptest/node_modules
test/p2ptest/js/q.js
100 changes: 0 additions & 100 deletions test/p2ptest/.travis/testacular-chrome.config.js

This file was deleted.

111 changes: 0 additions & 111 deletions test/p2ptest/.travis/testacular-firefox.conf.js

This file was deleted.

100 changes: 0 additions & 100 deletions test/p2ptest/.travis/testacular-safari.config.js

This file was deleted.

22 changes: 22 additions & 0 deletions test/p2ptest/fetchq.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import os
import argparse
try:
import urllib2 as u
except:
import urllib.request as u

URL = "https://raw.githubusercontent.com/kriskowal/q/c2f5a6f35456389a806acca50bfd929cbe30c4cb/q.js"
HOME_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__)))


def download():
req = u.Request(URL)
res_data = u.urlopen(req)
with open(os.path.join(HOME_PATH, 'js/q.js'), 'wb') as f:
f.write(res_data.read())


if __name__ == '__main__':
parser = argparse.ArgumentParser(description="Download q.js into ./js")
parser.parse_args()
download()
Loading

0 comments on commit 4ac8ce5

Please sign in to comment.