- shim - What is a Polyfill? / Shim vs Polyfill / Extend the Web Forward
- mo - A collection of OzJS core modules
Object.observe- 原生支持: chrome,node-harmony
- 替代:NervJS, WatchJS, Polymer/observe-js
| [{"pid":10591,"tid":23043,"ts":62124505922,"ph":"X","cat":"toplevel","name":"MessagePumpLibevent::OnLibeventNotification","args":{"src_file":"../../mojo/core/channel_posix.cc","src_func":"StartOnIOThread"},"dur":78,"tdur":77,"tts":15561353}, | |
| {"pid":10591,"tid":23043,"ts":62124505965,"ph":"X","cat":"ipc,toplevel","name":"ChannelMojo::OnMessageReceived","args":{"class":8,"line":114},"dur":26,"tdur":26,"tts":15561395}, | |
| {"pid":10591,"tid":23043,"ts":62124506523,"ph":"X","cat":"toplevel","name":"MessagePumpLibevent::OnLibeventNotification","args":{"src_file":"../../mojo/core/channel_posix.cc","src_func":"StartOnIOThread"},"dur":197,"tdur":165,"tts":15561464}, | |
| {"pid":10591,"tid":23043,"ts":62124506563,"ph":"X","cat":"ipc,toplevel","name":"ChannelMojo::OnMessageReceived","args":{"class":8,"line":114},"dur":90,"tdur":69,"tts":15561504}, | |
| {"pid":10591,"tid":23043,"ts":62124506703,"ph":"X","cat":"ipc,toplevel","name":"ChannelMojo::OnMessageReceived","args":{"class":8,"line":232},"dur":10,"tdur":9,"tts":15561612}, | |
| {"pid" |
| function observe(target, handler) { | |
| var timer = {} | |
| function _trigger(name, ...args) { | |
| if (handler && typeof handler[name] === "function") { | |
| if (!hanlder.sync) { | |
| clearTimeout(timer[name]) | |
| timer[name] = setTimeout(function() { | |
| handler[name](...args) | |
| }, 17) |
| var elasticsearch = require('elasticsearch') | |
| , generator = new (require('./mapping-generator')) | |
| , serialize = require('./serialize') | |
| , events = require('events') | |
| , mongoose = require('mongoose') | |
| , async = require('async') | |
| , nop = require('nop') | |
| function Mongoosastic(schema, options) { | |
| var mapping = getMapping(schema) |
| module.exports = require('../localfiles/LocalFilesField'); |
- shim - What is a Polyfill? / Shim vs Polyfill / Extend the Web Forward
- mo - A collection of OzJS core modules
Object.observe
| var dataOperator = (function() { | |
| var COMMANDS, | |
| DataOperator, | |
| KEYWORDS, | |
| bind, | |
| copy, | |
| forEach, | |
| getType, | |
| inPaths, | |
| isArray, |
| <!DOCTYPE html> | |
| <html ng-app="BankAlgorithm"> | |
| <head> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <meta content="yes" name="apple-mobile-web-app-capable"> | |
| <meta content="black" name="apple-mobile-web-app-status-bar-style"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
| <link href="http://cdn.bootcss.com/normalize/3.0.1/normalize.css" rel="stylesheet"> | |
| <script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> | |
| <script src="http://cdn.bootcss.com/angular.js/1.3.0-beta.13/angular.min.js"></script> |
| <!DOCTYPE html> | |
| <html ng-app="BankAlgorithm"> | |
| <head> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <meta content="yes" name="apple-mobile-web-app-capable"> | |
| <meta content="black" name="apple-mobile-web-app-status-bar-style"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
| <link href="http://cdn.bootcss.com/normalize/3.0.1/normalize.css" rel="stylesheet"> | |
| <script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> | |
| <script src="http://cdn.bootcss.com/angular.js/1.3.0-beta.13/angular.min.js"></script> |
| <!DOCTYPE html> | |
| <html ng-app="BankAlgorithm"> | |
| <head> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <meta content="yes" name="apple-mobile-web-app-capable"> | |
| <meta content="black" name="apple-mobile-web-app-status-bar-style"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
| <link href="http://cdn.bootcss.com/normalize/3.0.1/normalize.css" rel="stylesheet"> | |
| <script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> | |
| <script src="http://cdn.bootcss.com/angular.js/1.3.0-beta.13/angular.min.js"></script> |
| <!DOCTYPE html> | |
| <html ng-app="BankAlgorithm"> | |
| <head> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <meta content="yes" name="apple-mobile-web-app-capable"> | |
| <meta content="black" name="apple-mobile-web-app-status-bar-style"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
| <link href="http://cdn.bootcss.com/normalize/3.0.1/normalize.css" rel="stylesheet"> | |
| <script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script> | |
| <script src="http://cdn.bootcss.com/angular.js/1.3.0-beta.13/angular.min.js"></script> |