Skip to content

Commit

Permalink
Merge pull request #159 from MediaTek-Labs/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
x43x61x69 authored Jul 24, 2017
2 parents 002e7ba + a9eee77 commit a3d537a
Show file tree
Hide file tree
Showing 10 changed files with 2,544 additions and 2,540 deletions.
304 changes: 152 additions & 152 deletions blockly/arduino_compressed.js

Large diffs are not rendered by default.

3,002 changes: 1,501 additions & 1,501 deletions blockly/blockly_uncompressed.js

Large diffs are not rendered by default.

732 changes: 366 additions & 366 deletions blockly/blocks_compressed.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions blockly/generators/arduino/linkit.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ Blockly.Arduino.linkit_ble_eddy = function () {
var url = Blockly.Arduino.valueToCode(this, 'URL', Blockly.Arduino.ORDER_ATOMIC) || ''
var protocol = this.getFieldValue('TYPE');
url = url.replace(/\"/g, "");

Blockly.Arduino.definitions_['define_linkit_ble_include'] = '#include <LBLE.h>';
Blockly.Arduino.definitions_['define_linkit_ble_periphral_include'] = '#include <LBLEPeriphral.h>';

var code = "LBLEAdvertisementData beaconData;\n\n";
if(protocol == "http"){
if(url.length <= 17) code += 'beaconData.configAsEddystoneURL(EDDY_HTTP, "'+url+'");\n\n';
Expand Down
Binary file modified blockly/i18n/common.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion blockly/msg/json/en.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"@metadata": {
"author": "Ellen Spertus <[email protected]>",
"lastupdated": "2017-07-14 15:40:28.823008",
"lastupdated": "2017-07-24 08:50:31.435951",
"locale": "en",
"messagedocumentation" : "qqq"
},
Expand Down
Binary file modified closure-library/closure/bin/calcdeps.pyc
Binary file not shown.
304 changes: 152 additions & 152 deletions offline-editor/js/arduino_compressed.js

Large diffs are not rendered by default.

732 changes: 366 additions & 366 deletions offline-editor/js/blocks_compressed.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions offline-editor/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"alarms"
],
"update_url": "https://raw.githubusercontent.com/MediaTek-Labs/BlocklyDuino-for-LinkIt/master/offline-editor/manifest.json",
"version": "2.12.1",
"version_name": "2.12.1"
"version": "2.13.0",
"version_name": "2.13.0"
}

0 comments on commit a3d537a

Please sign in to comment.