Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit cbddfc0

Browse files
committed
Merge branch 'release-0.6.4'
2 parents 751105c + d791888 commit cbddfc0

File tree

6 files changed

+12
-5
lines changed

6 files changed

+12
-5
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
THIS CHANGELOG IS AN ATTEMPT TO DOCUMENT CHANGES TO THIS PROJECT.
22

3+
PL-v0.6.4
4+
- FIX: using # for a link won't cause a jump
5+
- THX: thanks to @tylersticka for the heads up
6+
37
PL-v0.6.3
48
- FIX: making sure code view is properly encoded
59
- THX: thanks to @tylersticka for the heads up

builder/builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Builder CLI - v0.6.3
4+
* Pattern Lab Builder CLI - v0.6.4
55
*
66
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

builder/lib/builder.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Builder Class - v0.6.3
4+
* Pattern Lab Builder Class - v0.6.4
55
*
66
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

builder/lib/generator.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Generator Class - v0.6.3
4+
* Pattern Lab Generator Class - v0.6.4
55
*
66
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

builder/lib/watcher.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*!
4-
* Pattern Lab Watcher Class - v0.6.3
4+
* Pattern Lab Watcher Class - v0.6.4
55
*
66
* Copyright (c) 2013 Dave Olsen, http://dmolsen.com
77
* Licensed under the MIT license

public/styleguide/js/postmessage.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ if (self != top) {
2929
for (a in aTags) {
3030
aTags[a].onclick = function(e) {
3131
e.preventDefault();
32-
window.location.replace(this.getAttribute("href"));
32+
var href = this.getAttribute("href");
33+
if (href != "#") {
34+
window.location.replace(href);
35+
}
3336
};
3437
}
3538

0 commit comments

Comments
 (0)