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
convert -dispose background -delay 7 -page +0+0 source-*.png -loop 0 target.gif |
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 element = React.createElement(List, {}); | |
const container = document.getElementById("app"); | |
ReactDOM.render(element, container); |
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
#![feature(link_args)] | |
#[link_args = "-s EXPORTED_FUNCTIONS=['_hello_world']"] | |
extern {} | |
extern crate semver; | |
use semver::Version; | |
use semver::VersionReq; |
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
data:text/html;charset=utf-8,<div id="test">test</div><script>document.getElementById("test").addEventListener("click", function( event ) {event.target.innerHTML = "click count: " + event.detail; console.log(event)}, false);</script> |
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
<span class="objectBox objectBox-object" role="presentation"> | |
<span class="objectLeftBrace" role="presentation">{</span> | |
<span> | |
<span class="nodeName">objProp</span> | |
<span class="objectEqual" role="presentation">: </span> | |
<span class="objectBox objectBox-object" role="presentation"> | |
<span class="objectTitle"></span> | |
<span class="objectLeftBrace" role="presentation">{</span> | |
<span> | |
<span class="nodeName">type</span> |
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
diff --git a/app/ui/browser/index.jsx b/app/ui/browser/index.jsx | |
index 4ab9a68..e2a5972 100644 | |
--- a/app/ui/browser/index.jsx | |
+++ b/app/ui/browser/index.jsx | |
@@ -20,6 +20,10 @@ import configureStore from './store/store'; | |
import rootReducer from './reducers'; | |
import Immutable from 'immutable'; | |
+import * as actions from './actions/main-actions'; | |
+ |
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
module.exports = { | |
entry: '...', | |
output: {...}, | |
externals: { | |
react: "React" | |
} | |
} |
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
{ | |
"name": "...", | |
"version": "...", | |
"browserify": { | |
"transform": [ "browserify-shim" ] | |
}, | |
"browserify-shim": { | |
"angular": "global:angular" | |
} | |
} |
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
// This function is called immediately. The second function is passed in | |
// as the factory parameter to this function. | |
(function (factory) { | |
// If there is a variable named module and it has an exports property, | |
// then we're working in a Node-like environment. Use require to load | |
// the jQuery object that the module system is using and pass it in. | |
if(typeof module === "object" && typeof module.exports === "object") { | |
factory(require("jquery"), window, document); | |
} | |
// Otherwise, we're working in a browser, so just pass in the global |
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
{ | |
"name": "using-jquery-plugins-global", | |
"version": "1.0.0", | |
"dependencies": { | |
"jquery": "^2.1.3", | |
"tipso": "^1.0.2" | |
}, | |
"browser": { | |
"tipso": "./node_modules/tipso/src/tipso.js" | |
}, |
NewerOlder