Skip to content

Instantly share code, notes, and snippets.

define([
'angular',
'angularMocks',
'shop/shop_controller',
'text!/base/app/test/data/shop-api-products.json',
'text!/base/app/test/data/api-v0.1-me.json',
'text!/base/app/test/data/shop-api-countries.json',
'text!/base/app/test/data/shop-api-orders-search.json',
'common/services/resource',
'common/services/i18n',
@mlent
mlent / gist:7e45b67732eb18d51a30
Created February 16, 2015 17:06
Extract in-use transaction strings
import re
import fnmatch
import sys
import os
from pprint import pprint
import json
in_use = []
for root, dirnames, filenames in os.walk('scripts'):
var parsetree = function(selector, options) {
this.el = document.querySelector(selector);
this.options = options || {};
if (this.el == null)
console.log("Could not find DOM object");
return this;
};