Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: packages/js_util/dist/js_util.js

Issue 2104113003: Added js and js_util to observatory deps (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « packages/js/src/varargs.dart ('k') | packages/js_util/dist/js_util.min.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 (function (mod) {
2 if (typeof exports == "object" && typeof module == "object") // CommonJS
3 module.exports = mod();
4 else if (typeof define == "function" && define.amd) // AMD
5 return define([], mod);
6 else // Plain browser env
7 this.JsUtil = mod();
8 })(function () {
9 "use strict";
10
11 function JsUtil() {
12 }
13
14 JsUtil.newObject = function () {
15 return {};
16 };
17
18 JsUtil.getValue = function (obj, prop) {
19 return obj[prop];
20 };
21
22 return JsUtil;
23 });
OLDNEW
« no previous file with comments | « packages/js/src/varargs.dart ('k') | packages/js_util/dist/js_util.min.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698