Client / Server Anwendung mit Websocket
Websockets Tools und Tests websocket.org – Echo Test
WeiterlesenWebsockets Tools und Tests websocket.org – Echo Test
Weiterlesen
1 2 3 4 5 |
var optionsData = $.map(data, function (obj) { obj.id = obj.keyword_id; obj.text = obj.keyword_value; return obj; }); |
Weiterlesen
1 2 3 4 5 6 7 8 9 10 11 12 |
var li = document.createElement('li'); var a = document.createElement('a'); /*------------------------------------------------------------------ CSS Styles ------------------------------------------------------------------*/ element.style.float = 'left'; element.style.left = '0px'; element.style.top = '0px'; element.style.width = '100px'; element.style.height = '100px'; element.style.backgroundColor = '#cccccc'; |
Weiterlesen
Select Element
Weiterlesen2-way Data Binding in Templates http://peterkaptein.com/work/underscore.html https://peterkaptein.wordpress.com/2013/12/03/2-way-data-binding-with-underscore-and-jquery/
Weiterlesenvar tree = SentenceTree.getInstance(); var inst = $.jstree.reference(data.reference); tree.get_selected(); tree.get_node(nodeid); tree.get_children(node); tree.get_path(id, false, true); // path ids as array tree.delete_node(node); tree.delete_node(node); tree.select_node(node, true, false); // supress_event tree.is_selected(obj) tree.deselect_all(); tree.refresh(true, false) $(this.ele).jstree(true).get_json(‚#‘, {flat:false, no_state:true}); //open Tree.tree.jstree(‚open_node‘, id, function(){ Tree.tree.jstree(’select_node‘, selected_id, true, false); // select_node without event trigger }); // load Tree.tree.jstree(‚load_node‘, id, function(){ //open Tree.tree.jstree(‚open_node‘, id, […]
WeiterlesenJavascript lernen dofactory.com tutorial – javascript advanced objects
WeiterlesenGoogle Maps API Reference – Data class Libraries OpenLayers.js — OpenLayers Map Viewer Library
Weiterlesenvar minify = require(‚gulp-minify-css‘);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
var gulp = require('gulp'); // GULP himself // utils var gutil = require('gulp-util'); var plumber = require('gulp-plumber'); var changed = require('gulp-changed'); var watch = require('gulp-watch'); // for file var concat = require('gulp-concat'); var filesize = require('gulp-filesize'); var rename = require('gulp-rename'); // for JS var uglify = require('gulp-uglify'), var jshint = require('gulp-jshint'); // for CSS var sourcemaps = require('gulp-sourcemaps'); var minifycss = require('gulp-minify-css'); var less = require('gulp-less'); // for testing var selenium = require('selenium-standalone'); var webdriver = require('gulp-webdriver'); |
Weiterlesen