diff --git a/package.json b/package.json index 9d1be8dd..dc3f1b96 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "pebblejs", "author": "Meiguro", - "version": "1.0.0", + "version": "1.0.1", "repository": "pebble/pebblejs", "license": "MIT", "files": ["dist.zip"], diff --git a/src/c/util/graphics.h b/src/c/util/graphics.h index 8d073ae8..f91328c4 100644 --- a/src/c/util/graphics.h +++ b/src/c/util/graphics.h @@ -5,7 +5,7 @@ #include -#ifndef PBL_SDK_3 +#ifdef PBL_SDK_2 #define GCompOpAlphaBlend GCompOpAnd diff --git a/src/js/platform/platform.js b/src/js/platform/platform.js index 79721e53..56c1154e 100644 --- a/src/js/platform/platform.js +++ b/src/js/platform/platform.js @@ -1,7 +1,7 @@ var Platform = module.exports; Platform.version = function() { - if (Pebble.getActiveWatchInfo) { + if (Pebble.getActiveWatchInfo()) { return Pebble.getActiveWatchInfo().platform; } else { return 'aplite';