{"action":"created","comment":{"url":"https://api.github.com/repos/andela/troupon/pulls/comments/43154099","id":43154099,"diff_hunk":"@@ -0,0 +1,514 @@\n+/* ========================================================================\n+ * Bootstrap: tooltip.js v3.3.5\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.5'\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","path":"troupon/staticfiles/bootstrap/js/tooltip.ccae69febbcd.js","position":104,"original_position":104,"commit_id":"e69145d96a6f021182a6114754b7cd5f10188af4","original_commit_id":"e69145d96a6f021182a6114754b7cd5f10188af4","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 'options'.<br>Missing semicolon.","created_at":"2015-10-27T17:18:20Z","updated_at":"2015-10-27T17:18:20Z","html_url":"https://github.com/andela/troupon/pull/73#discussion_r43154099","pull_request_url":"https://api.github.com/repos/andela/troupon/pulls/73","_links":{"self":{"href":"https://api.github.com/repos/andela/troupon/pulls/comments/43154099"},"html":{"href":"https://github.com/andela/troupon/pull/73#discussion_r43154099"},"pull_request":{"href":"https://api.github.com/repos/andela/troupon/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/andela/troupon/pulls/73","id":48902778,"html_url":"https://github.com/andela/troupon/pull/73","diff_url":"https://github.com/andela/troupon/pull/73.diff","patch_url":"https://github.com/andela/troupon/pull/73.patch","issue_url":"https://api.github.com/repos/andela/troupon/issues/73","number":73,"state":"open","locked":false,"title":"Userprofiletmp","user":{"login":"andela-sjames","id":13233374,"avatar_url":"https://avatars.githubusercontent.com/u/13233374?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-sjames","html_url":"https://github.com/andela-sjames","followers_url":"https://api.github.com/users/andela-sjames/followers","following_url":"https://api.github.com/users/andela-sjames/following{/other_user}","gists_url":"https://api.github.com/users/andela-sjames/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-sjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-sjames/subscriptions","organizations_url":"https://api.github.com/users/andela-sjames/orgs","repos_url":"https://api.github.com/users/andela-sjames/repos","events_url":"https://api.github.com/users/andela-sjames/events{/privacy}","received_events_url":"https://api.github.com/users/andela-sjames/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-27T17:17:18Z","updated_at":"2015-10-27T17:18:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"274f6da29a4d0cac2dd2e9aa58313860f1e007af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela/troupon/pulls/73/commits","review_comments_url":"https://api.github.com/repos/andela/troupon/pulls/73/comments","review_comment_url":"https://api.github.com/repos/andela/troupon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/troupon/issues/73/comments","statuses_url":"https://api.github.com/repos/andela/troupon/statuses/e69145d96a6f021182a6114754b7cd5f10188af4","head":{"label":"andela:userprofiletmp","ref":"userprofiletmp","sha":"e69145d96a6f021182a6114754b7cd5f10188af4","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":40593599,"name":"troupon","full_name":"andela/troupon","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/troupon","description":"Groupon Clone","fork":false,"url":"https://api.github.com/repos/andela/troupon","forks_url":"https://api.github.com/repos/andela/troupon/forks","keys_url":"https://api.github.com/repos/andela/troupon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/troupon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/troupon/teams","hooks_url":"https://api.github.com/repos/andela/troupon/hooks","issue_events_url":"https://api.github.com/repos/andela/troupon/issues/events{/number}","events_url":"https://api.github.com/repos/andela/troupon/events","assignees_url":"https://api.github.com/repos/andela/troupon/assignees{/user}","branches_url":"https://api.github.com/repos/andela/troupon/branches{/branch}","tags_url":"https://api.github.com/repos/andela/troupon/tags","blobs_url":"https://api.github.com/repos/andela/troupon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/troupon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/troupon/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/troupon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/troupon/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/troupon/languages","stargazers_url":"https://api.github.com/repos/andela/troupon/stargazers","contributors_url":"https://api.github.com/repos/andela/troupon/contributors","subscribers_url":"https://api.github.com/repos/andela/troupon/subscribers","subscription_url":"https://api.github.com/repos/andela/troupon/subscription","commits_url":"https://api.github.com/repos/andela/troupon/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/troupon/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/troupon/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/troupon/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/troupon/contents/{+path}","compare_url":"https://api.github.com/repos/andela/troupon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/troupon/merges","archive_url":"https://api.github.com/repos/andela/troupon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/troupon/downloads","issues_url":"https://api.github.com/repos/andela/troupon/issues{/number}","pulls_url":"https://api.github.com/repos/andela/troupon/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/troupon/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/troupon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/troupon/labels{/name}","releases_url":"https://api.github.com/repos/andela/troupon/releases{/id}","created_at":"2015-08-12T09:56:57Z","updated_at":"2015-09-01T09:09:23Z","pushed_at":"2015-10-27T17:17:18Z","git_url":"git://github.com/andela/troupon.git","ssh_url":"git@github.com:andela/troupon.git","clone_url":"https://github.com/andela/troupon.git","svn_url":"https://github.com/andela/troupon","homepage":null,"size":5754,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"andela:master","ref":"master","sha":"5b1bff8a4674d63be491db745e3ce9497ffe7334","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":40593599,"name":"troupon","full_name":"andela/troupon","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/troupon","description":"Groupon Clone","fork":false,"url":"https://api.github.com/repos/andela/troupon","forks_url":"https://api.github.com/repos/andela/troupon/forks","keys_url":"https://api.github.com/repos/andela/troupon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/troupon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/troupon/teams","hooks_url":"https://api.github.com/repos/andela/troupon/hooks","issue_events_url":"https://api.github.com/repos/andela/troupon/issues/events{/number}","events_url":"https://api.github.com/repos/andela/troupon/events","assignees_url":"https://api.github.com/repos/andela/troupon/assignees{/user}","branches_url":"https://api.github.com/repos/andela/troupon/branches{/branch}","tags_url":"https://api.github.com/repos/andela/troupon/tags","blobs_url":"https://api.github.com/repos/andela/troupon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/troupon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/troupon/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/troupon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/troupon/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/troupon/languages","stargazers_url":"https://api.github.com/repos/andela/troupon/stargazers","contributors_url":"https://api.github.com/repos/andela/troupon/contributors","subscribers_url":"https://api.github.com/repos/andela/troupon/subscribers","subscription_url":"https://api.github.com/repos/andela/troupon/subscription","commits_url":"https://api.github.com/repos/andela/troupon/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/troupon/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/troupon/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/troupon/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/troupon/contents/{+path}","compare_url":"https://api.github.com/repos/andela/troupon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/troupon/merges","archive_url":"https://api.github.com/repos/andela/troupon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/troupon/downloads","issues_url":"https://api.github.com/repos/andela/troupon/issues{/number}","pulls_url":"https://api.github.com/repos/andela/troupon/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/troupon/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/troupon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/troupon/labels{/name}","releases_url":"https://api.github.com/repos/andela/troupon/releases{/id}","created_at":"2015-08-12T09:56:57Z","updated_at":"2015-09-01T09:09:23Z","pushed_at":"2015-10-27T17:17:18Z","git_url":"git://github.com/andela/troupon.git","ssh_url":"git@github.com:andela/troupon.git","clone_url":"https://github.com/andela/troupon.git","svn_url":"https://github.com/andela/troupon","homepage":null,"size":5754,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/troupon/pulls/73"},"html":{"href":"https://github.com/andela/troupon/pull/73"},"issue":{"href":"https://api.github.com/repos/andela/troupon/issues/73"},"comments":{"href":"https://api.github.com/repos/andela/troupon/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/troupon/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/troupon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/troupon/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/andela/troupon/statuses/e69145d96a6f021182a6114754b7cd5f10188af4"}}}}