- ES6 Syntax (http://es6-features.org/)
- Babel - transpiler from ES6 to ES5 (http://babeljs.io/)
- npm - package manager
- grunt - task manager
- gulp - task manager
| /* | |
| Easing Equations v1.5 | |
| May 1, 2003 | |
| (c) 2003 Robert Penner, all rights reserved. | |
| This work is subject to the terms in http://www.robertpenner.com/easing_terms_of_use.html. | |
| These tweening functions provide different flavors of | |
| math-based motion under a consistent API. | |
| Types of easing: |
| class ProtocolException(Exception): | |
| pass | |
| class ProtocolParam(object): | |
| def __init__(self, check_type): | |
| self.check_type = check_type | |
| def is_param(self, check_type=None): | |
| if not check_type: |
| // Audio requirements | |
| import android.media.AudioTrack; | |
| import android.media.AudioManager; | |
| import android.media.AudioFormat; | |
| class AudioThread extends Thread { | |
| private boolean _audioRun = false; | |
| private int _reqWrite = 0; | |
| private int _ackWrite = 0; | |
| private boolean _init = true; |
| #!/bin/bash | |
| # Author:Andrey Nikishaev | |
| echo "CHANGELOG" | |
| echo ---------------------- | |
| git for-each-ref --sort='*authordate' --format='%(tag)' refs/tags |tac |grep -v '^$' | while read TAG ; do | |
| echo | |
| if [ $NEXT ];then | |
| echo [$NEXT] | |
| else | |
| echo "[Current]" |
| var gulp = require('gulp'); | |
| var sourcemaps = require('gulp-sourcemaps'); | |
| var source = require('vinyl-source-stream'); | |
| var buffer = require('vinyl-buffer'); | |
| var browserify = require('browserify'); | |
| var watchify = require('watchify'); | |
| var babel = require('babelify'); | |
| function compile(watch) { | |
| var bundler = watchify(browserify('./src/index.js', { debug: true }).transform(babel)); |
| /* DEPRECATED | |
| getComponentState(id) {} | |
| setComponentState(id, state) {} | |
| onComponentStateUpdated(id, state) {} | |
| */ | |
| constructor(StateStore){ | |
| // this.name - Name of the component. Should be unique, better to link to parent view name. | |
| // For example for jobDetailView it will be "JobsTableJobDetailView" | |
| // state |