Skip to content

Commit 1202ece

Browse files
committed
minor
1 parent 0125baa commit 1202ece

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

v5-unity/README.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ I decided to go with Webpack for the module system and to upgrade the
1212
appropriate versions of libraries to match, without breaking crufty
1313
legacy code (hopefully)
1414

15+
---
16+
17+
To create a production build after everything has been installed
18+
properly, run:
19+
20+
npm run production-build
21+
1522
---
1623
To get started, install:
1724

v5-unity/add_cache_busting_query_strings.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88

99
STUFF_RE = re.compile(PREFIX + '(build/.*[.]js).*?' + SUFFIX)
1010

11+
print 'Added cache-busting hashes to these HTML files:'
12+
1113
for f in os.listdir('.'):
1214
if f.endswith('.html'):
13-
#print f
1415
new_f = f + '.NEW'
1516
with open(new_f, 'w') as out:
1617
for line in open(f):
@@ -21,7 +22,7 @@
2122
md5_hash = hashlib.md5(open(js_filename, 'rb').read()).hexdigest()
2223
md5_hash = md5_hash[:10] # truncate to prettify
2324
modified_line = re.sub(STUFF_RE, 'src="' + js_filename + '?' + md5_hash + SUFFIX, line)
24-
#print modified_line
25+
print f + ':' + modified_line,
2526
out.write(modified_line)
2627
else:
2728
out.write(line)

v5-unity/js/lib/jquery.qtip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* http://craigsworks.com/projects/qtip2/
33
* Copyright (c) 2012 Craig Michael Thompson; Licensed MIT, GPL */
44

5-
// modified by pgbovine (using "pgbovine" comments)
5+
// modified by pgbovine (using "pgbovine" comments) to get it working with jQuery 3.0.0
66

77
/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
88
/*global window: false, jQuery: false, console: false, define: false */

0 commit comments

Comments
 (0)