I hereby claim:
- I am jlecomte on github.
- I am julienlecomte (https://keybase.io/julienlecomte) on keybase.
- I have a public key ASAstcPJd9xlJICZKealOZL_WIhK6FGZ8TnmmeYqoTucdAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"events":[{ | |
"name": "bootstrap_load", | |
"timestamp": 342424234, | |
"values":[{ | |
"name": "execution_time", | |
"value": 1234 | |
}, { | |
"name": "cpu_usage", | |
"value": 45, |
package net.julienlecomte.earthquaketracker; | |
import android.app.Activity; | |
import android.content.Intent; | |
import android.content.SharedPreferences; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.widget.TextView; | |
public class MainActivity extends Activity { |
YUI({ | |
modules: { | |
'gallery-foo': { | |
fullpath: 'http://cdn.rawgit.com/user/repo/branch/build/gallery-foo/gallery-foo.js', | |
requires: [ 'bar', 'baz' ] | |
} | |
} | |
}).use('gallery-foo', function (Y) { | |
... | |
}); |
<!doctype html> | |
<html> | |
<head> | |
<title></title> | |
<script type="text/javascript"> | |
function addEvent (el, type, fn, capture) { | |
if (el && el.addEventListener) { | |
el.addEventListener(type, fn, capture); | |
} else if (el && el.attachEvent) { |