background preloader

Javascript

Facebook Twitter

Standard built-in objects. This chapter documents all of JavaScript's standard, built-in objects, including their methods and properties.

Standard built-in objects

The term "global objects" (or standard built-in objects) here is not to be confused with the global object. Here, global objects refer to objects in the global scope (but only if ECMAScript 5 strict mode is not used; in that case it returns undefined). The global object itself can be accessed using the this operator in the global scope. In fact, the global scope consists of the properties of the global object, including inherited properties, if any.

Other objects in the global scope are either created by the user script or provided by the host application. Standard objects by category Value properties These global properties return a simple value; they have no properties or methods. Function properties These global functions—functions which are called globally rather than on an object—directly return their results to the caller. Jacobrosenthal/arduino at Spark. Ajfisher/node-pixel. JavaScript Robotics News (Johnny-Five) With an updated VoodooSpark and the latest Particle-IO adapter, Particle Photons and Cores can now interface with I2C devices via Johnny-Five.

JavaScript Robotics News (Johnny-Five)

This means that any existing I2C device can be hooked up to your Particle device and used just like any other I2C device. Here is an example of using the Particle Photon with an MPU6050 Accelerometer. The beauty of the Johnny-Five abstraction allows us to do some things that you may not consider. For example, pair the SparkFun Photon Redboard with the EVShield, and you have a JavaScript enabled, wireless controller for your Lego creations. Or, connect your Photon to the SparkFun Weather Shield and wirelessly automate your home. Examples of the components that are now supported on the Particle devices in Johnny-Five include:

Johnny-Five: The JavaScript Robotics Programming Framework. Rwaldron/johnny-five. » DownloadBreakout. Breakout is available for Mac OS X, Windows and Linux*.

» DownloadBreakout

Breakout_v0.3.2 | August 13, 2014 Note: The Linux version of the Breakout Server application has only been tested on Ubuntu 11.10 and 12.04 (64-bit) and may or may not run on other Linux distributions. The Breakout source code is hosted by github. WebStorm. What's New WebStorm is lightweight yet powerful Integrated Development Environment perfectly equipped for complex client-side development and server-side development with Node.js.

WebStorm

WebStorm features advanced support for JavaScript, HTML, CSS, and their modern successors, as well as for frameworks such as AngularJS or React, debugging, and integration with the VCS and various web development tools: Intelligent Editor with coding assistance for JavaScript, Node.js, ECMAScript 6, TypeScript, CoffeeScript, and Dart as well as HTML, CSS, Less, Sass and Stylus. Cosing assistance includes syntax highlighting, documentation lookup, and refactorings. Homebrew — Le gestionnaire de paquets pour OS X. A JavaScript library for building user interfaces. A Simple Component React components implement a render() method that takes input data and returns what to display.

A JavaScript library for building user interfaces

This example uses an XML-like syntax called JSX. Input data that is passed into the component can be accessed by render() via this.props. JSX is optional and not required to use React. Try clicking on "Compiled JS" to see the raw JavaScript code produced by the JSX compiler. Live JSX Editor Compiled JS. A framework for building native apps using React. Build Native Mobile Apps using JavaScript and React React Native lets you build mobile apps using only JavaScript.

A framework for building native apps using React

It uses the same design as React, letting you compose a rich mobile UI from declarative components. import React, { Component } from 'react'; import { Text, View } from 'react-native'; class WhyReactNativeIsSoGreat extends Component { render() { return ( <View><Text> If you like React on the web, you'll like React Native.

</Text><Text> You just use native components like 'View' and 'Text', instead of web components like 'div' and 'span'. Homebrew — Le gestionnaire de paquets pour OS X. A framework for building native apps using React. Kinoma. Moment Timezone. Download.

Moment Timezone

JavaScript tutorial for IoT apps – How to structure your code. When you are new to creating mobile apps in HTML and JavaScript you may run into questions about how to structure your code and how to load libraries.

JavaScript tutorial for IoT apps – How to structure your code

In this tutorial we take a look at how to structure the code on a fundamental level. Read on to learn more! How to structure mobile application code When you are new to JavaScript you might wonder how to structure your code. The convention is to use index.html as the starting point of the app. While you can include JavaScript code directly into index.html, it is often handy to place the code in one or more separate JavaScript files. Hands on example – the “TI SensorTag Accelerometer” demo app. 26 modules Node.js que j’utilise tout le temps. Je suis comme vous, je reviens toujours à une petite boîte à outils essentielle, qui m’accompagne de projet en projet, chaque outil ayant maintes fois prouvé sa valeur.

26 modules Node.js que j’utilise tout le temps

Javascript

Ⓣ the thing system - Hello, world! DeviceJS. Javascript and the Internet of Things- Postscapes.