Skip to content

Instantly share code, notes, and snippets.

View gabrielschulhof's full-sized avatar

Gabriel Schulhof gabrielschulhof

  • California, USA
View GitHub Profile
<!doctype html>
<html>
<head>
<title>RequireJS template</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../css/themes/default/jquery.mobile.css"/>
<script src="../external/requirejs/require.js"></script>
<script src="../js/requirejs.config.js"></script>
<script>
( function() {
} )();
/*
If we break up _create() as shown below, we get an extension-friendly, enhanced-aware,
reflow-minimizing startup process.
_establishStructure():
Action in the traditional case:
Creates elements and establishes parent/child relationships between them. It may detach
this.element from the DOM.
diff --git a/tests/integration/select/uncached-dom-cached-false.html b/tests/integration/select/uncached-dom-cached-false.html
index 2977c2a..1824fc4 100644
--- a/tests/integration/select/uncached-dom-cached-false.html
+++ b/tests/integration/select/uncached-dom-cached-false.html
@@ -4,7 +4,7 @@
<meta charset="utf-8">
</head>
<body>
- <div id="dialog-select-parent-domcache-test" data-nstest-role="page">
+ <div id="dialog-select-parent-domcache-test-uncached" data-nstest-role="page">

iotivity-node

Description

This project provides iotivity node.js bindings.

Installation

iotivity-node depends on iotivity proper. It has been tested against 809b1b1 on Linux. During compilation, it uses pkgconfig to retrieve the iotivity compiler and linker flags. This means that you have to first build and install iotivity. The following procedure is known to work on Linux:

  1. Grab a snapshot of iotivity from its git repository and unpack it locally.
  2. Make sure a compiler, make, and scons (a build tool) are installed. Your distribution should provide all these tools.
// This client differs from the simple client only in that the URL in the request is absolute,
// causing it to specifically target the server.observable entity handler.
var intervalId,
iotivity = require( "iotivity" ),
handle = {};
iotivity.OCInit( null, 0, iotivity.OCMode.OC_CLIENT );
intervalId = setInterval( function() {
diff --git a/src/event.js b/src/event.js
index 584ba90..ea70d0e 100644
--- a/src/event.js
+++ b/src/event.js
@@ -610,10 +610,13 @@ jQuery.event = {
event,
{
type: type,
- isSimulated: true,
- originalEvent: {}
#include <stdio.h>
#include <glib.h>
#include <ocstack.h>
static gboolean
runOCProcess( gpointer user_data ) {
OCStackResult result = OCProcess();
GMainLoop *mainLoop = ( GMainLoop * )user_data;
if ( result == OC_STACK_OK ) {
diff --git a/js/widgets/page.js b/js/widgets/page.js
index 7c6a144..a9a7950 100644
--- a/js/widgets/page.js
+++ b/js/widgets/page.js
@@ -83,6 +83,11 @@ $.widget( "mobile.page", {
},
_create: function() {
+ // Dialog widget is deprecated in 1.4 remove this in 1.5
+ if ( $.mobile.getAttribute( this.element[ 0 ], "role" ) === "dialog" ) {
[nix@archie jqm]$ npm install download.jqueryui.com
npm WARN package.json [email protected] No README data
> [email protected] install /var/www/html/nix/jqm/node_modules/download.jqueryui.com/node_modules/simple-log/node_modules/node-syslog
> node-gyp rebuild
make: Entering directory `/var/www/html/nix/jqm/node_modules/download.jqueryui.com/node_modules/simple-log/node_modules/node-syslog/build'
CXX(target) Release/obj.target/syslog/syslog.o
In file included from ../syslog.cc:1:0:
../node-syslog.h:22:45: error: ‘Arguments’ in namespace ‘v8’ does not name a type