summaryrefslogtreecommitdiff
path: root/crocoite/__init__.py
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-12-24 10:23:09 +0100
committerLars-Dominik Braun <lars@6xq.net>2017-12-24 10:23:09 +0100
commitd4951d1fe8be0941df9cafbfe57c21d26f66e8ee (patch)
treef24081e310a1bcbf1aea8ddc258d60050f012c0d /crocoite/__init__.py
parentfcb9ae93514d26085c8e0aebf2fc9b9c64a77453 (diff)
downloadcrocoite-d4951d1fe8be0941df9cafbfe57c21d26f66e8ee.tar.gz
crocoite-d4951d1fe8be0941df9cafbfe57c21d26f66e8ee.tar.bz2
crocoite-d4951d1fe8be0941df9cafbfe57c21d26f66e8ee.zip
Refactor behavior scripts
No functional changes, just cleanup. Replaces onload and onsnapshot events. Move screen metric emulation, DOM snapshots and screenshots here as well.
Diffstat (limited to 'crocoite/__init__.py')
-rw-r--r--crocoite/__init__.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/crocoite/__init__.py b/crocoite/__init__.py
index e23cd60..6fc86ce 100644
--- a/crocoite/__init__.py
+++ b/crocoite/__init__.py
@@ -18,16 +18,3 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-import os
-
-def packageData (path):
- """
- Locate package data, see setup.py’s data_files
- """
- return os.path.join (os.path.dirname (__file__), 'data', path)
-
-def packageUrl (path):
- """
- Create URL for package data stored into WARC
- """
- return 'urn:' + __package__ + ':' + path