Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added template support #5

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

FomaLSSJ
Copy link

@FomaLSSJ FomaLSSJ commented Mar 6, 2017

Добавлена поддержка шаблона (https://github.com/janl/mustache.js/tree/0.4.2)
Используемый редактор для HTML - ACE (https://github.com/ajaxorg/ace-builds)
Добавлен новый пункт "Код":
Кнопка "Update template" - обновляет представление шаблона
Два режима:
Arduino: парсится строка вида = "sucess|true;value|10", в конечном итоге получается json объект {success:true, value: 10}
Espruino: сразу передается json, в конце так же получает json объект
Добавлен чекбокс включить/отключить использование шаблона
Настройки шаблона сохраняются в chrome.storage (добавлен permissions: storage в manifest.json)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant