From d4951d1fe8be0941df9cafbfe57c21d26f66e8ee Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 24 Dec 2017 10:23:09 +0100 Subject: Refactor behavior scripts No functional changes, just cleanup. Replaces onload and onsnapshot events. Move screen metric emulation, DOM snapshots and screenshots here as well. --- crocoite/__init__.py | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'crocoite/__init__.py') 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 -- cgit v1.2.3