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
// Run this from dev tools on http://kangax.github.io/compat-table/es6/ to get compat data for current browser. | |
// Adapted from phantomjs standalone script. | |
(function getEs6Data(){ | |
var result = (function(){ | |
var data = {}; | |
var forEach = Array.prototype.forEach; | |
var tw = document.getElementById('table-wrapper'); | |
forEach.call(tw.querySelectorAll('tr:not(.size-row):not(.subtest):not(.category)'), function (st) { |
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
// Somewhere in your controllers for this given example | |
// Example functions | |
$scope.itemOnLongPress = function(id) { | |
console.log('Long press'); | |
} | |
$scope.itemOnMouseUp = function(id) { | |
console.log('Mouse up'); | |
} |