GitHub PullRequestReviewCommentEvent at 2014-01-06 22:57:22
Repository: traceur-compiler
Actor: arv
Payload: {"comment":{"url":"https://api.github.com/repos/google/traceur-compiler/pulls/comments/8680764","id":8680764,"diff_hunk":"@@ -0,0 +1,37 @@\n+// Copyright 2014 Traceur Authors.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+//      http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+\n+import {assert} from '../../../src/util/assert';\n+import {resolveUrl} from '../../../src/util/url';\n+\n+var testScriptName = '../../test/unit/runtime/test_script.js';\n+global.system.loadAsScript(testScriptName, function(result) {\n+  assert('A', result[0]);","path":"test/unit/runtime/test_interpret.js","position":21,"original_position":21,"commit_id":"03b42bf40418e7d5ab37cefeec9ba6b831d95242","original_commit_id":"03b42bf40418e7d5ab37cefeec9ba6b831d95242","user":{"login":"arv","id":45845,"avatar_url":"https://gravatar.com/avatar/962770201a163972c107fd2e2e537ce8?d=https%3A%2F%2Fidenticons.github.com%2F4828d2c97841cdd2637ac20faf9e28d2.png&r=x","gravatar_id":"962770201a163972c107fd2e2e537ce8","url":"https://api.github.com/users/arv","html_url":"https://github.com/arv","followers_url":"https://api.github.com/users/arv/followers","following_url":"https://api.github.com/users/arv/following{/other_user}","gists_url":"https://api.github.com/users/arv/gists{/gist_id}","starred_url":"https://api.github.com/users/arv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arv/subscriptions","organizations_url":"https://api.github.com/users/arv/orgs","repos_url":"https://api.github.com/users/arv/repos","events_url":"https://api.github.com/users/arv/events{/privacy}","received_events_url":"https://api.github.com/users/arv/received_events","type":"User","site_admin":false},"body":"Duh, my bad. Tommy wanted this to have a Node require in it. Maybe change the following\r\n\r\n```js\r\nimport {assert} from '../../../src/util/assert';\r\n```\r\n\r\nto\r\n\r\n```js\r\nvar {assert} = require('chai');\r\n```\r\n\r\n","created_at":"2014-01-06T22:57:22Z","updated_at":"2014-01-06T22:57:22Z","html_url":"https://github.com/google/traceur-compiler/pull/625#discussion_r8680764","pull_request_url":"https://api.github.com/repos/google/traceur-compiler/pulls/625","_links":{"self":{"href":"https://api.github.com/repos/google/traceur-compiler/pulls/comments/8680764"},"html":{"href":"https://github.com/google/traceur-compiler/pull/625#discussion_r8680764"},"pull_request":{"href":"https://api.github.com/repos/google/traceur-compiler/pulls/625"}}}}