Skip to content

Commit

Permalink
removing console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Johnston committed Mar 11, 2015
1 parent c33c739 commit 5bba529
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions framework/framework/ui/controls/link/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ module plat.ui.controls {
*/
protected _handleClick(ev: Event): void {
var buttons: number;
console.log('clicked');
if (isNumber((<any>ev).buttons)) {
if ((<any>ev).buttons === 0) {
buttons = 1;
Expand Down Expand Up @@ -268,9 +267,7 @@ module plat.ui.controls {
break;
}
}
console.log('buttons:', buttons);
if (buttons === 1) {
console.log('preventing default');
ev.preventDefault();
}
}
Expand All @@ -295,7 +292,6 @@ module plat.ui.controls {
if (isUndefined(href)) {
return;
}
console.log('going to:', href);
ev.preventDefault();

requestAnimationFrameGlobal((): void => {
Expand Down
2 changes: 1 addition & 1 deletion framework/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framework",
"version": "0.12.3",
"version": "0.12.4",
"description": "",
"main": "gruntfile.js",
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion framework/testing/framework/platypus.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* PlatypusTS v0.12.3 (http://getplatypi.com)
* PlatypusTS v0.12.4 (http://getplatypi.com)
* Copyright 2015 Platypi, LLC. All rights reserved.
* PlatypusTS is licensed under the GPL-3.0 found at
* http://opensource.org/licenses/GPL-3.0
Expand Down

0 comments on commit 5bba529

Please sign in to comment.