{"action":"created","comment":{"url":"https://api.github.com/repos/2gis/mapsapi/pulls/comments/24475874","id":24475874,"diff_hunk":"@@ -1,686 +1,771 @@\n-if (typeof Promise !== 'function') {\n-  (function() {\n-  var define, requireModule, require, requirejs;\n+(function( global ) {\n \n-  (function() {\n-    var registry = {}, seen = {};\n+  'use strict';\n \n-    define = function(name, deps, callback) {\n-      registry[name] = { deps: deps, callback: callback };\n-    };\n-\n-    requirejs = require = requireModule = function(name) {\n-    requirejs._eak_seen = registry;\n-\n-      if (seen[name]) { return seen[name]; }\n-      seen[name] = {};\n-\n-      if (!registry[name]) {\n-        throw new Error(\"Could not find module \" + name);\n-      }\n-\n-      var mod = registry[name],\n-          deps = mod.deps,\n-          callback = mod.callback,\n-          reified = [],\n-          exports;\n-\n-      for (var i=0, l=deps.length; i<l; i++) {\n-        if (deps[i] === 'exports') {\n-          reified.push(exports = {});\n-        } else {\n-          reified.push(requireModule(resolve(deps[i])));\n-        }\n-      }\n+  var $$iterator, ArrayIteratorPrototype;\n \n-      var value = callback.apply(this, reified);\n-      return seen[name] = exports || value;\n+  // don't trample native promises if they exist\n+  if ( 'Promise' in global && typeof global.Promise.all === 'function' ) {\n+    return;\n+  }\n \n-      function resolve(child) {\n-        if (child.charAt(0) !== '.') { return child; }\n-        var parts = child.split(\"/\");\n-        var parentBase = name.split(\"/\").slice(0, -1);\n-\n-        for (var i=0, l=parts.length; i<l; i++) {\n-          var part = parts[i];\n-\n-          if (part === '..') { parentBase.pop(); }\n-          else if (part === '.') { continue; }\n-          else { parentBase.push(part); }\n+  // set a value as non-configurable and non-enumerable\n+  function defineInternal ( obj, key, val ) {\n+    Object.defineProperty(obj, key, {","path":"vendors/polyfills/promise.js","position":59,"original_position":59,"commit_id":"a589757d41a0517eccdd5919039ec0578ca2ecc0","original_commit_id":"a589757d41a0517eccdd5919039ec0578ca2ecc0","user":{"login":"Trufi","id":3996552,"avatar_url":"https://avatars.githubusercontent.com/u/3996552?v=3","gravatar_id":"","url":"https://api.github.com/users/Trufi","html_url":"https://github.com/Trufi","followers_url":"https://api.github.com/users/Trufi/followers","following_url":"https://api.github.com/users/Trufi/following{/other_user}","gists_url":"https://api.github.com/users/Trufi/gists{/gist_id}","starred_url":"https://api.github.com/users/Trufi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trufi/subscriptions","organizations_url":"https://api.github.com/users/Trufi/orgs","repos_url":"https://api.github.com/users/Trufi/repos","events_url":"https://api.github.com/users/Trufi/events{/privacy}","received_events_url":"https://api.github.com/users/Trufi/received_events","type":"User","site_admin":false},"body":"А ie8?","created_at":"2015-02-11T06:04:54Z","updated_at":"2015-02-11T06:04:54Z","html_url":"https://github.com/2gis/mapsapi/pull/169#discussion_r24475874","pull_request_url":"https://api.github.com/repos/2gis/mapsapi/pulls/169","_links":{"self":{"href":"https://api.github.com/repos/2gis/mapsapi/pulls/comments/24475874"},"html":{"href":"https://github.com/2gis/mapsapi/pull/169#discussion_r24475874"},"pull_request":{"href":"https://api.github.com/repos/2gis/mapsapi/pulls/169"}}},"pull_request":{"url":"https://api.github.com/repos/2gis/mapsapi/pulls/169","id":29004932,"html_url":"https://github.com/2gis/mapsapi/pull/169","diff_url":"https://github.com/2gis/mapsapi/pull/169.diff","patch_url":"https://github.com/2gis/mapsapi/pull/169.patch","issue_url":"https://api.github.com/repos/2gis/mapsapi/issues/169","number":169,"state":"open","locked":false,"title":"good polyfill for promise","user":{"login":"Riim","id":7447701,"avatar_url":"https://avatars.githubusercontent.com/u/7447701?v=3","gravatar_id":"","url":"https://api.github.com/users/Riim","html_url":"https://github.com/Riim","followers_url":"https://api.github.com/users/Riim/followers","following_url":"https://api.github.com/users/Riim/following{/other_user}","gists_url":"https://api.github.com/users/Riim/gists{/gist_id}","starred_url":"https://api.github.com/users/Riim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Riim/subscriptions","organizations_url":"https://api.github.com/users/Riim/orgs","repos_url":"https://api.github.com/users/Riim/repos","events_url":"https://api.github.com/users/Riim/events{/privacy}","received_events_url":"https://api.github.com/users/Riim/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-10T13:00:50Z","updated_at":"2015-02-11T06:04:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7000fd00e8c2e85366571d8e40218a32996520b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/2gis/mapsapi/pulls/169/commits","review_comments_url":"https://api.github.com/repos/2gis/mapsapi/pulls/169/comments","review_comment_url":"https://api.github.com/repos/2gis/mapsapi/pulls/comments/{number}","comments_url":"https://api.github.com/repos/2gis/mapsapi/issues/169/comments","statuses_url":"https://api.github.com/repos/2gis/mapsapi/statuses/a589757d41a0517eccdd5919039ec0578ca2ecc0","head":{"label":"2gis:updatePromiseShim","ref":"updatePromiseShim","sha":"a589757d41a0517eccdd5919039ec0578ca2ecc0","user":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"repo":{"id":8050444,"name":"mapsapi","full_name":"2gis/mapsapi","owner":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gis/mapsapi","description":"Карты 2ГИС — это точные данные обо всех объектах города, включая новостройки, с детализацией до заборов и внутриквартальных проездов.","fork":false,"url":"https://api.github.com/repos/2gis/mapsapi","forks_url":"https://api.github.com/repos/2gis/mapsapi/forks","keys_url":"https://api.github.com/repos/2gis/mapsapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/mapsapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/mapsapi/teams","hooks_url":"https://api.github.com/repos/2gis/mapsapi/hooks","issue_events_url":"https://api.github.com/repos/2gis/mapsapi/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/mapsapi/events","assignees_url":"https://api.github.com/repos/2gis/mapsapi/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/mapsapi/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/mapsapi/tags","blobs_url":"https://api.github.com/repos/2gis/mapsapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/mapsapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/mapsapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/mapsapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/mapsapi/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/mapsapi/languages","stargazers_url":"https://api.github.com/repos/2gis/mapsapi/stargazers","contributors_url":"https://api.github.com/repos/2gis/mapsapi/contributors","subscribers_url":"https://api.github.com/repos/2gis/mapsapi/subscribers","subscription_url":"https://api.github.com/repos/2gis/mapsapi/subscription","commits_url":"https://api.github.com/repos/2gis/mapsapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/mapsapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/mapsapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/mapsapi/issues/comments/{number}","contents_url":"https://api.github.com/repos/2gis/mapsapi/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/mapsapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/mapsapi/merges","archive_url":"https://api.github.com/repos/2gis/mapsapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/mapsapi/downloads","issues_url":"https://api.github.com/repos/2gis/mapsapi/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/mapsapi/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/mapsapi/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/mapsapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/mapsapi/labels{/name}","releases_url":"https://api.github.com/repos/2gis/mapsapi/releases{/id}","created_at":"2013-02-06T11:59:11Z","updated_at":"2015-02-10T10:28:50Z","pushed_at":"2015-02-10T13:10:30Z","git_url":"git://github.com/2gis/mapsapi.git","ssh_url":"git@github.com:2gis/mapsapi.git","clone_url":"https://github.com/2gis/mapsapi.git","svn_url":"https://github.com/2gis/mapsapi","homepage":"","size":23661,"stargazers_count":48,"watchers_count":48,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":20,"forks":0,"open_issues":20,"watchers":48,"default_branch":"master"}},"base":{"label":"2gis:master","ref":"master","sha":"ef17978a0c5764cb2d7987a6e84dba9e8294ac1e","user":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"repo":{"id":8050444,"name":"mapsapi","full_name":"2gis/mapsapi","owner":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gis/mapsapi","description":"Карты 2ГИС — это точные данные обо всех объектах города, включая новостройки, с детализацией до заборов и внутриквартальных проездов.","fork":false,"url":"https://api.github.com/repos/2gis/mapsapi","forks_url":"https://api.github.com/repos/2gis/mapsapi/forks","keys_url":"https://api.github.com/repos/2gis/mapsapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/mapsapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/mapsapi/teams","hooks_url":"https://api.github.com/repos/2gis/mapsapi/hooks","issue_events_url":"https://api.github.com/repos/2gis/mapsapi/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/mapsapi/events","assignees_url":"https://api.github.com/repos/2gis/mapsapi/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/mapsapi/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/mapsapi/tags","blobs_url":"https://api.github.com/repos/2gis/mapsapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/mapsapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/mapsapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/mapsapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/mapsapi/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/mapsapi/languages","stargazers_url":"https://api.github.com/repos/2gis/mapsapi/stargazers","contributors_url":"https://api.github.com/repos/2gis/mapsapi/contributors","subscribers_url":"https://api.github.com/repos/2gis/mapsapi/subscribers","subscription_url":"https://api.github.com/repos/2gis/mapsapi/subscription","commits_url":"https://api.github.com/repos/2gis/mapsapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/mapsapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/mapsapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/mapsapi/issues/comments/{number}","contents_url":"https://api.github.com/repos/2gis/mapsapi/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/mapsapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/mapsapi/merges","archive_url":"https://api.github.com/repos/2gis/mapsapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/mapsapi/downloads","issues_url":"https://api.github.com/repos/2gis/mapsapi/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/mapsapi/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/mapsapi/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/mapsapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/mapsapi/labels{/name}","releases_url":"https://api.github.com/repos/2gis/mapsapi/releases{/id}","created_at":"2013-02-06T11:59:11Z","updated_at":"2015-02-10T10:28:50Z","pushed_at":"2015-02-10T13:10:30Z","git_url":"git://github.com/2gis/mapsapi.git","ssh_url":"git@github.com:2gis/mapsapi.git","clone_url":"https://github.com/2gis/mapsapi.git","svn_url":"https://github.com/2gis/mapsapi","homepage":"","size":23661,"stargazers_count":48,"watchers_count":48,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":20,"forks":0,"open_issues":20,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/2gis/mapsapi/pulls/169"},"html":{"href":"https://github.com/2gis/mapsapi/pull/169"},"issue":{"href":"https://api.github.com/repos/2gis/mapsapi/issues/169"},"comments":{"href":"https://api.github.com/repos/2gis/mapsapi/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/2gis/mapsapi/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/2gis/mapsapi/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/2gis/mapsapi/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/2gis/mapsapi/statuses/a589757d41a0517eccdd5919039ec0578ca2ecc0"}}}}