Browse files

bump to jquery 1.6.4, other stuff that is important, read the fucking…

… commit notes
  • Loading branch information...
1 parent ebcff47 commit 057b23c6b44cdcab10ae302e571ff641de81fed8 @gtzilla gtzilla committed Dec 9, 2011
View
2 src/background.html
@@ -23,7 +23,7 @@
<script type="text/javascript" src="js/bitlyapi-v3.0.js"></script>
<!-- //*this file does NOT appear in GIT, you will have to manually add the correct credentials* -->
<script type="text/javascript" src="js/bitly_oauth_credentials.js"></script>
- <script type="text/javascript" src="js/jquery-1.5.2.js"></script>
+ <script type="text/javascript" src="js/jquery-1.6.4.js"></script>
<script type="text/javascript" src="js/bExt/bExt.js"></script>
<script type="text/javascript" src="js/bExt/bExt.Evt.js"></script>
<script type="text/javascript" src="js/bExt/bExt.Eventer.js"></script>
View
2 src/js/content_plugins/bitly.dispatcher.js
@@ -2,7 +2,7 @@
function dispatch_callback(jo) { }
var body, h = document.location && document.location.host, protocol = document.location.protocol,
- d_hosts=["bit.ly", "bitly.org", "j.mp", "bitly.net", "bitly.tv", "blog.bit.ly", "bitly.pro", "bitly.com"];
+ d_hosts=["bit.ly", "bitly.org", "j.mp", "bitly.net", "bitly.tv", "blog.bit.ly", "bitly.pro", "bitly.com", "localhost:7385", "localhost:8080"];
if( d_hosts.indexOf( h ) >=0 || /[^.]{2,}\.bitly\.net$/.test(h) || /[^.]{2,}\.bitly\.org$/.test(h) ) {
var promos = document.getElementsByClassName("ext_bitly_chrome_promo_delay"), elem, mark=document.createElement("span");
for(var i=0; i<promos.length; i++) {
View
18 src/js/content_plugins/bitly.urlexpander.js
@@ -133,7 +133,20 @@ function brainResponse(jo) {
}
-
+ /**
+ *
+ * so the problem with this file
+ *
+ * is that is makes a single connection between a link a a dom element
+ *
+ * meaning if the same link occurs again, it appears to fail to associate it
+ * however, a top level look at the code suggests this is actually not the
+ * problem, but rather, it's related to when there is a seconardy
+ * call made, existing found link are skipped, so the element is not correctly
+ * associated with an elment. This seems to be especially true
+ *
+ *
+ * */
if(jo.total <= 0) return; // bail, no links
@@ -197,9 +210,6 @@ function brainResponse(jo) {
}
-function _draw_bit_card() {
-
-}
function close_container() {
if(bit_container_elem) {
View
9,046 src/js/jquery-1.6.4.js
9,046 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
4 src/manifest.json
@@ -1,6 +1,6 @@
{
"name": "bitly | a simple URL shortener",
- "version": "1.3.1.3",
+ "version": "1.3.1.5",
"minimum_chrome_version" : "10.0.0.0",
"options_page": "options.html",
"description": "Shorten, share, and track your links, right from your browser, instantly",
@@ -25,7 +25,7 @@
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
- "js": ["js/jquery-1.5.2.js", "js/content_plugins/bitly.dispatcher.js"]
+ "js": ["js/jquery-1.6.4.js", "js/content_plugins/bitly.dispatcher.js"]
}
]
}
View
2 src/metrics.html
@@ -48,7 +48,7 @@
<script type="text/javascript" charset="utf-8" src="js/bitly_oauth_credentials.js"></script>
<script type="text/javascript" charset="utf-8" src="js/bitlyapi-v3.0.js"></script>
<script type="text/javascript" charset="utf-8" src="js/libs/fastFrag.js"></script>
-<script type="text/javascript" charset="utf-8" src="js/jquery-1.5.2.js"></script>
+<script type="text/javascript" charset="utf-8" src="js/jquery-1.6.4.js"></script>
<script type="text/javascript" charset="utf-8" src="js/bExt/bExt.js"></script>
<script type="text/javascript" charset="utf-8" src="js/bExt/bExt.metrics.js"></script>
View
2 src/options.html
@@ -42,7 +42,7 @@ <h1 id="bitly_options" class="ext_options_header">Extension Options</h1>
<!-- <script type="text/javascript" src=""></script> -->
- <script type="text/javascript" src="js/jquery-1.5.2.js"></script>
+ <script type="text/javascript" src="js/jquery-1.6.4.js"></script>
<script type="text/javascript" src="js/libs/fastFrag.js"></script>
<script type="text/javascript" src="js/bExt/bExt.js"></script>
<script type="text/javascript" src="js/bExt/bExt.hovercard.js"></script>
View
2 src/popup.html
@@ -70,7 +70,7 @@
<div id="char_count_box"></div>
</div><!-- end #bottom -->
</div><!-- end #container -->
- <script type="text/javascript" src="js/jquery-1.5.2.js"></script>
+ <script type="text/javascript" src="js/jquery-1.6.4.js"></script>
<script type="text/javascript" src="js/bExt/bExt.js"></script>
<script type="text/javascript" src="js/libs/fastFrag.js"></script>
<script type="text/javascript" src="js/bExt/bExt.popup.js"></script>
View
3 src/signin.html
@@ -85,7 +85,8 @@ <h1 id="bitly_options" class="ext_options_header">Sign in via bitly</h1>
</div> <!-- end #container -->
- <script type="text/javascript" charset="utf-8" src="js/jquery-1.5.2.js"></script>
+ <script type="text/javascript" charset="utf-8"
+ src="js/jquery-1.6.4.js"></script>
<script type="text/javascript" charset="utf-8" src="js/libs/fastFrag.js"></script>
<script type="text/javascript" charset="utf-8" src="js/bExt/bExt.js"></script>
<script type="text/javascript" src="js/bExt/bExt.ui_banner.js"></script>

0 comments on commit 057b23c

Please sign in to comment.