{"action":"created","comment":{"url":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/comments/46757420","id":46757420,"diff_hunk":"@@ -0,0 +1,514 @@\n+/* ========================================================================\n+ * Bootstrap: tooltip.js v3.3.6\n+ * http://getbootstrap.com/javascript/#tooltip\n+ * Inspired by the original jQuery.tipsy by Jason Frame\n+ * ========================================================================\n+ * Copyright 2011-2015 Twitter, Inc.\n+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n+ * ======================================================================== */\n+\n+\n++function ($) {\n+  'use strict';\n+\n+  // TOOLTIP PUBLIC CLASS DEFINITION\n+  // ===============================\n+\n+  var Tooltip = function (element, options) {\n+    this.type       = null\n+    this.options    = null\n+    this.enabled    = null\n+    this.timeout    = null\n+    this.hoverState = null\n+    this.$element   = null\n+    this.inState    = null\n+\n+    this.init('tooltip', element, options)\n+  }\n+\n+  Tooltip.VERSION  = '3.3.6'\n+\n+  Tooltip.TRANSITION_DURATION = 150\n+\n+  Tooltip.DEFAULTS = {\n+    animation: true,\n+    placement: 'top',\n+    selector: false,\n+    template: '<div class=\"tooltip\" role=\"tooltip\"><div class=\"tooltip-arrow\"></div><div class=\"tooltip-inner\"></div></div>',\n+    trigger: 'hover focus',\n+    title: '',\n+    delay: 0,\n+    html: false,\n+    container: false,\n+    viewport: {\n+      selector: 'body',\n+      padding: 0\n+    }\n+  }\n+\n+  Tooltip.prototype.init = function (type, element, options) {\n+    this.enabled   = true\n+    this.type      = type\n+    this.$element  = $(element)\n+    this.options   = this.getOptions(options)\n+    this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))\n+    this.inState   = { click: false, hover: false, focus: false }\n+\n+    if (this.$element[0] instanceof document.constructor && !this.options.selector) {\n+      throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')\n+    }\n+\n+    var triggers = this.options.trigger.split(' ')\n+\n+    for (var i = triggers.length; i--;) {\n+      var trigger = triggers[i]\n+\n+      if (trigger == 'click') {\n+        this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))\n+      } else if (trigger != 'manual') {\n+        var eventIn  = trigger == 'hover' ? 'mouseenter' : 'focusin'\n+        var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'\n+\n+        this.$element.on(eventIn  + '.' + this.type, this.options.selector, $.proxy(this.enter, this))\n+        this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))\n+      }\n+    }\n+\n+    this.options.selector ?\n+      (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :\n+      this.fixTitle()\n+  }\n+\n+  Tooltip.prototype.getDefaults = function () {\n+    return Tooltip.DEFAULTS\n+  }\n+\n+  Tooltip.prototype.getOptions = function (options) {\n+    options = $.extend({}, this.getDefaults(), this.$element.data(), options)\n+\n+    if (options.delay && typeof options.delay == 'number') {\n+      options.delay = {\n+        show: options.delay,\n+        hide: options.delay\n+      }\n+    }\n+\n+    return options\n+  }\n+\n+  Tooltip.prototype.getDelegateOptions = function () {\n+    var options  = {}\n+    var defaults = this.getDefaults()\n+\n+    this._options && $.each(this._options, function (key, value) {\n+      if (defaults[key] != value) options[key] = value\n+    })\n+\n+    return options\n+  }\n+\n+  Tooltip.prototype.enter = function (obj) {\n+    var self = obj instanceof this.constructor ?\n+      obj : $(obj.currentTarget).data('bs.' + this.type)\n+\n+    if (!self) {\n+      self = new this.constructor(obj.currentTarget, this.getDelegateOptions())\n+      $(obj.currentTarget).data('bs.' + this.type, self)\n+    }\n+\n+    if (obj instanceof $.Event) {\n+      self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true\n+    }\n+\n+    if (self.tip().hasClass('in') || self.hoverState == 'in') {\n+      self.hoverState = 'in'\n+      return\n+    }\n+\n+    clearTimeout(self.timeout)\n+\n+    self.hoverState = 'in'\n+\n+    if (!self.options.delay || !self.options.delay.show) return self.show()\n+\n+    self.timeout = setTimeout(function () {\n+      if (self.hoverState == 'in') self.show()\n+    }, self.options.delay.show)\n+  }\n+\n+  Tooltip.prototype.isInStateTrue = function () {\n+    for (var key in this.inState) {\n+      if (this.inState[key]) return true\n+    }\n+\n+    return false\n+  }\n+\n+  Tooltip.prototype.leave = function (obj) {\n+    var self = obj instanceof this.constructor ?\n+      obj : $(obj.currentTarget).data('bs.' + this.type)\n+\n+    if (!self) {\n+      self = new this.constructor(obj.currentTarget, this.getDelegateOptions())\n+      $(obj.currentTarget).data('bs.' + this.type, self)\n+    }\n+\n+    if (obj instanceof $.Event) {\n+      self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false\n+    }\n+\n+    if (self.isInStateTrue()) return\n+\n+    clearTimeout(self.timeout)\n+\n+    self.hoverState = 'out'\n+\n+    if (!self.options.delay || !self.options.delay.hide) return self.hide()\n+\n+    self.timeout = setTimeout(function () {\n+      if (self.hoverState == 'out') self.hide()\n+    }, self.options.delay.hide)\n+  }\n+\n+  Tooltip.prototype.show = function () {\n+    var e = $.Event('show.bs.' + this.type)\n+\n+    if (this.hasContent() && this.enabled) {\n+      this.$element.trigger(e)\n+\n+      var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])\n+      if (e.isDefaultPrevented() || !inDom) return\n+      var that = this\n+\n+      var $tip = this.tip()\n+\n+      var tipId = this.getUID(this.type)\n+\n+      this.setContent()\n+      $tip.attr('id', tipId)\n+      this.$element.attr('aria-describedby', tipId)\n+\n+      if (this.options.animation) $tip.addClass('fade')\n+\n+      var placement = typeof this.options.placement == 'function' ?\n+        this.options.placement.call(this, $tip[0], this.$element[0]) :\n+        this.options.placement\n+\n+      var autoToken = /\\s?auto?\\s?/i\n+      var autoPlace = autoToken.test(placement)\n+      if (autoPlace) placement = placement.replace(autoToken, '') || 'top'","path":"bower_components/bootstrap/js/tooltip.js","position":199,"original_position":199,"commit_id":"84f7a159f58a9b6c6619ec90a551e6186941adce","original_commit_id":"84f7a159f58a9b6c6619ec90a551e6186941adce","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Expected '{' and instead saw 'placement'.","created_at":"2015-12-05T11:30:40Z","updated_at":"2015-12-05T11:30:40Z","html_url":"https://github.com/makersacademy/todo_challenge/pull/123#discussion_r46757420","pull_request_url":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/123","_links":{"self":{"href":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/comments/46757420"},"html":{"href":"https://github.com/makersacademy/todo_challenge/pull/123#discussion_r46757420"},"pull_request":{"href":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/123"}}},"pull_request":{"url":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/123","id":52753168,"html_url":"https://github.com/makersacademy/todo_challenge/pull/123","diff_url":"https://github.com/makersacademy/todo_challenge/pull/123.diff","patch_url":"https://github.com/makersacademy/todo_challenge/pull/123.patch","issue_url":"https://api.github.com/repos/makersacademy/todo_challenge/issues/123","number":123,"state":"open","locked":false,"title":"toDo Challenge","user":{"login":"Mattia46","id":13794530,"avatar_url":"https://avatars.githubusercontent.com/u/13794530?v=3","gravatar_id":"","url":"https://api.github.com/users/Mattia46","html_url":"https://github.com/Mattia46","followers_url":"https://api.github.com/users/Mattia46/followers","following_url":"https://api.github.com/users/Mattia46/following{/other_user}","gists_url":"https://api.github.com/users/Mattia46/gists{/gist_id}","starred_url":"https://api.github.com/users/Mattia46/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mattia46/subscriptions","organizations_url":"https://api.github.com/users/Mattia46/orgs","repos_url":"https://api.github.com/users/Mattia46/repos","events_url":"https://api.github.com/users/Mattia46/events{/privacy}","received_events_url":"https://api.github.com/users/Mattia46/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-05T11:29:32Z","updated_at":"2015-12-05T11:30:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2ea1f5f93f6ba2c752ccd962a5d2b124f234b3e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/123/commits","review_comments_url":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/123/comments","review_comment_url":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makersacademy/todo_challenge/issues/123/comments","statuses_url":"https://api.github.com/repos/makersacademy/todo_challenge/statuses/84f7a159f58a9b6c6619ec90a551e6186941adce","head":{"label":"Mattia46:master","ref":"master","sha":"84f7a159f58a9b6c6619ec90a551e6186941adce","user":{"login":"Mattia46","id":13794530,"avatar_url":"https://avatars.githubusercontent.com/u/13794530?v=3","gravatar_id":"","url":"https://api.github.com/users/Mattia46","html_url":"https://github.com/Mattia46","followers_url":"https://api.github.com/users/Mattia46/followers","following_url":"https://api.github.com/users/Mattia46/following{/other_user}","gists_url":"https://api.github.com/users/Mattia46/gists{/gist_id}","starred_url":"https://api.github.com/users/Mattia46/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mattia46/subscriptions","organizations_url":"https://api.github.com/users/Mattia46/orgs","repos_url":"https://api.github.com/users/Mattia46/repos","events_url":"https://api.github.com/users/Mattia46/events{/privacy}","received_events_url":"https://api.github.com/users/Mattia46/received_events","type":"User","site_admin":false},"repo":{"id":47452040,"name":"todo_challenge","full_name":"Mattia46/todo_challenge","owner":{"login":"Mattia46","id":13794530,"avatar_url":"https://avatars.githubusercontent.com/u/13794530?v=3","gravatar_id":"","url":"https://api.github.com/users/Mattia46","html_url":"https://github.com/Mattia46","followers_url":"https://api.github.com/users/Mattia46/followers","following_url":"https://api.github.com/users/Mattia46/following{/other_user}","gists_url":"https://api.github.com/users/Mattia46/gists{/gist_id}","starred_url":"https://api.github.com/users/Mattia46/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mattia46/subscriptions","organizations_url":"https://api.github.com/users/Mattia46/orgs","repos_url":"https://api.github.com/users/Mattia46/repos","events_url":"https://api.github.com/users/Mattia46/events{/privacy}","received_events_url":"https://api.github.com/users/Mattia46/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mattia46/todo_challenge","description":"The \"Hello, world\" for MV* frameworks","fork":true,"url":"https://api.github.com/repos/Mattia46/todo_challenge","forks_url":"https://api.github.com/repos/Mattia46/todo_challenge/forks","keys_url":"https://api.github.com/repos/Mattia46/todo_challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mattia46/todo_challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mattia46/todo_challenge/teams","hooks_url":"https://api.github.com/repos/Mattia46/todo_challenge/hooks","issue_events_url":"https://api.github.com/repos/Mattia46/todo_challenge/issues/events{/number}","events_url":"https://api.github.com/repos/Mattia46/todo_challenge/events","assignees_url":"https://api.github.com/repos/Mattia46/todo_challenge/assignees{/user}","branches_url":"https://api.github.com/repos/Mattia46/todo_challenge/branches{/branch}","tags_url":"https://api.github.com/repos/Mattia46/todo_challenge/tags","blobs_url":"https://api.github.com/repos/Mattia46/todo_challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mattia46/todo_challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mattia46/todo_challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mattia46/todo_challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mattia46/todo_challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/Mattia46/todo_challenge/languages","stargazers_url":"https://api.github.com/repos/Mattia46/todo_challenge/stargazers","contributors_url":"https://api.github.com/repos/Mattia46/todo_challenge/contributors","subscribers_url":"https://api.github.com/repos/Mattia46/todo_challenge/subscribers","subscription_url":"https://api.github.com/repos/Mattia46/todo_challenge/subscription","commits_url":"https://api.github.com/repos/Mattia46/todo_challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mattia46/todo_challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mattia46/todo_challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mattia46/todo_challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mattia46/todo_challenge/contents/{+path}","compare_url":"https://api.github.com/repos/Mattia46/todo_challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mattia46/todo_challenge/merges","archive_url":"https://api.github.com/repos/Mattia46/todo_challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mattia46/todo_challenge/downloads","issues_url":"https://api.github.com/repos/Mattia46/todo_challenge/issues{/number}","pulls_url":"https://api.github.com/repos/Mattia46/todo_challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/Mattia46/todo_challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/Mattia46/todo_challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mattia46/todo_challenge/labels{/name}","releases_url":"https://api.github.com/repos/Mattia46/todo_challenge/releases{/id}","created_at":"2015-12-05T10:41:22Z","updated_at":"2015-12-05T11:19:16Z","pushed_at":"2015-12-05T11:28:41Z","git_url":"git://github.com/Mattia46/todo_challenge.git","ssh_url":"git@github.com:Mattia46/todo_challenge.git","clone_url":"https://github.com/Mattia46/todo_challenge.git","svn_url":"https://github.com/Mattia46/todo_challenge","homepage":null,"size":1223,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"makersacademy:master","ref":"master","sha":"ce780455b39054eaaaacf8b30c8f455e1af0b919","user":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":32573915,"name":"todo_challenge","full_name":"makersacademy/todo_challenge","owner":{"login":"makersacademy","id":3636186,"avatar_url":"https://avatars.githubusercontent.com/u/3636186?v=3","gravatar_id":"","url":"https://api.github.com/users/makersacademy","html_url":"https://github.com/makersacademy","followers_url":"https://api.github.com/users/makersacademy/followers","following_url":"https://api.github.com/users/makersacademy/following{/other_user}","gists_url":"https://api.github.com/users/makersacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/makersacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makersacademy/subscriptions","organizations_url":"https://api.github.com/users/makersacademy/orgs","repos_url":"https://api.github.com/users/makersacademy/repos","events_url":"https://api.github.com/users/makersacademy/events{/privacy}","received_events_url":"https://api.github.com/users/makersacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/makersacademy/todo_challenge","description":"The \"Hello, world\" for MV* frameworks","fork":false,"url":"https://api.github.com/repos/makersacademy/todo_challenge","forks_url":"https://api.github.com/repos/makersacademy/todo_challenge/forks","keys_url":"https://api.github.com/repos/makersacademy/todo_challenge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makersacademy/todo_challenge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makersacademy/todo_challenge/teams","hooks_url":"https://api.github.com/repos/makersacademy/todo_challenge/hooks","issue_events_url":"https://api.github.com/repos/makersacademy/todo_challenge/issues/events{/number}","events_url":"https://api.github.com/repos/makersacademy/todo_challenge/events","assignees_url":"https://api.github.com/repos/makersacademy/todo_challenge/assignees{/user}","branches_url":"https://api.github.com/repos/makersacademy/todo_challenge/branches{/branch}","tags_url":"https://api.github.com/repos/makersacademy/todo_challenge/tags","blobs_url":"https://api.github.com/repos/makersacademy/todo_challenge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makersacademy/todo_challenge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makersacademy/todo_challenge/git/refs{/sha}","trees_url":"https://api.github.com/repos/makersacademy/todo_challenge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makersacademy/todo_challenge/statuses/{sha}","languages_url":"https://api.github.com/repos/makersacademy/todo_challenge/languages","stargazers_url":"https://api.github.com/repos/makersacademy/todo_challenge/stargazers","contributors_url":"https://api.github.com/repos/makersacademy/todo_challenge/contributors","subscribers_url":"https://api.github.com/repos/makersacademy/todo_challenge/subscribers","subscription_url":"https://api.github.com/repos/makersacademy/todo_challenge/subscription","commits_url":"https://api.github.com/repos/makersacademy/todo_challenge/commits{/sha}","git_commits_url":"https://api.github.com/repos/makersacademy/todo_challenge/git/commits{/sha}","comments_url":"https://api.github.com/repos/makersacademy/todo_challenge/comments{/number}","issue_comment_url":"https://api.github.com/repos/makersacademy/todo_challenge/issues/comments{/number}","contents_url":"https://api.github.com/repos/makersacademy/todo_challenge/contents/{+path}","compare_url":"https://api.github.com/repos/makersacademy/todo_challenge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makersacademy/todo_challenge/merges","archive_url":"https://api.github.com/repos/makersacademy/todo_challenge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makersacademy/todo_challenge/downloads","issues_url":"https://api.github.com/repos/makersacademy/todo_challenge/issues{/number}","pulls_url":"https://api.github.com/repos/makersacademy/todo_challenge/pulls{/number}","milestones_url":"https://api.github.com/repos/makersacademy/todo_challenge/milestones{/number}","notifications_url":"https://api.github.com/repos/makersacademy/todo_challenge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makersacademy/todo_challenge/labels{/name}","releases_url":"https://api.github.com/repos/makersacademy/todo_challenge/releases{/id}","created_at":"2015-03-20T09:08:32Z","updated_at":"2015-10-29T22:05:07Z","pushed_at":"2015-12-05T11:29:32Z","git_url":"git://github.com/makersacademy/todo_challenge.git","ssh_url":"git@github.com:makersacademy/todo_challenge.git","clone_url":"https://github.com/makersacademy/todo_challenge.git","svn_url":"https://github.com/makersacademy/todo_challenge","homepage":null,"size":43102,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":162,"mirror_url":null,"open_issues_count":4,"forks":162,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/123"},"html":{"href":"https://github.com/makersacademy/todo_challenge/pull/123"},"issue":{"href":"https://api.github.com/repos/makersacademy/todo_challenge/issues/123"},"comments":{"href":"https://api.github.com/repos/makersacademy/todo_challenge/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makersacademy/todo_challenge/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/makersacademy/todo_challenge/statuses/84f7a159f58a9b6c6619ec90a551e6186941adce"}}}}