Skip to content

Commit 77a84b8

Browse files
committed
Merging upsteam master into fork master
2 parents 6aa8bee + 404a161 commit 77a84b8

File tree

6 files changed

+24
-5
lines changed

6 files changed

+24
-5
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
language: node_js
2+
node_js:
3+
- "0.10"

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
instafeed.js
22
============
3+
[![Build Status](https://travis-ci.org/stevenschobert/instafeed.js.png?branch=master)](https://travis-ci.org/stevenschobert/instafeed.js)
34

45
Instafeed is a dead-simple way to add Instagram photos to your website. No jQuery required, just good 'ol plain javascript.
56

@@ -144,9 +145,13 @@ This will install all the necessary test tools for testing. There is also a Make
144145

145146
## Change Log
146147

148+
__1.2.1__
149+
150+
- Fixed IE8 error "Object doesn't support this action".
151+
147152
__1.2.0__
148153

149-
- Add the ability to sort images! Use the __sortBy__ option.
154+
- Added the ability to sort images! Use the __sortBy__ option.
150155
- Added __{{likes}}__, __{{comments}}__, __{{id}}__, __{{caption}}__, __{{location}}__, and __{{model}}__, tags to the __template__ option.
151156

152157
__1.1.0__

instafeed.js

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

instafeed.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@
1414
"chai": "1.3.x",
1515
"uglify-js": "1.3.x"
1616
},
17-
"engine": "node >= 0.6"
17+
"engine": "node >= 0.6",
18+
"scripts": {
19+
"test": "make test"
20+
}
1821
}

src/instafeed.coffee

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,10 @@ class Instafeed
185185

186186
# delete the cached instance of the class
187187
instanceName = "instafeedCache#{@unique}"
188-
delete window[instanceName]
188+
window[instanceName] = undefined
189+
try
190+
delete window[instanceName]
191+
catch e
189192
# END if document?
190193

191194
# run after callback function, if one is set

0 commit comments

Comments
 (0)