This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <WVR.h> | |
#include <wvr_pins.h> | |
#include <button.h> | |
WVR wvr; | |
Button* btnWifi; | |
Button* btnPlay; | |
Button* btnPrev; | |
Button* btnNext; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const gulp = require('gulp'); | |
const ternary = require('ternary-stream'); | |
const nittro = require('gulp-nittro'); | |
const webpack = require('webpack-stream'); | |
const uglify = require('gulp-uglify'); | |
const concat = require('gulp-concat'); | |
const sourcemaps = require('gulp-sourcemaps'); | |
const builder = new nittro.Builder({ | |
base: { /* ... */ }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_context.invoke('Nextras', function(DOM) { | |
var Datagrid = _context.extend(function(snippetManager, page) { | |
this._ = { | |
snippetManager: snippetManager, | |
page: page, | |
hasGrid: false | |
}; | |
this._.snippetManager.on('after-update', this._handleUpdate.bind(this)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Dropzone example</title> | |
<script type="application/json" id="nittro-params"> | |
{ | |
"basePath": "/" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For a global handler you can create a custom service. | |
// You'd include this file in your minified site script after Nittro but before bootstrap: | |
_context.invoke('App', function() { | |
var MyService = _context.extend(function(page, ajax) { | |
this._ = { | |
page: page, | |
ajax: ajax | |
}; | |
this._.page.on('create-request', this._handleCreateRequest.bind(this)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Nittro\Bridges\NittroUI\Presenter, | |
Nette\Application\UI\Form; | |
class PeoplePresenter extends Presenter { | |
/** @var \Dibi\Connection */ | |
private $dibi; | |