Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move images around to match the directory structure in ka-stable.

Summary:
This should make it easier to keep images up-to-date between the two
repos.

Test Plan:
Once I have 'arc mail'-ed this off, I'll check that the images display
correctly for this revision in the two reading-pictograph exercises,
on sandcastle.

Reviewers: eater

Reviewed By: eater

Differential Revision: http://phabricator.khanacademy.org/D985
  • Loading branch information...
commit a15954548f369e62d579b3d2b3cc4f8521459941 1 parent 7ac3861
Craig Silverstein csilvers authored
2  exercises/reading_pictographs_1.html
View
@@ -29,7 +29,7 @@
<div class="vars">
<var id="DATA">randRangeUnique( 1, 8, 5 )</var>
<var id="BADGE">randFromArray([ "meteorite", "moon", "earth" ])</var>
- <var id="FULL_IMAGE">"&lt;img src='" + Khan.urlBase + "images/" + BADGE + "-small.png'&gt;"</var>
+ <var id="FULL_IMAGE">"&lt;img src='" + Khan.urlBase + "images/badges/" + BADGE + "-small.png'&gt;"</var>
<var id="VALUE_PER_IMG">1</var>
</div>
4 exercises/reading_pictographs_2.html
View
@@ -29,8 +29,8 @@
<div class="vars">
<var id="DATA">randRangeUnique( 1, 8, 5 )</var>
<var id="BADGE">randFromArray([ "meteorite", "moon", "earth" ])</var>
- <var id="FULL_IMAGE">"&lt;img src='" + Khan.urlBase + "images/" + BADGE + "-small.png'&gt;"</var>
- <var id="HALF_IMAGE">"&lt;div style=\"background-image:url('" + Khan.urlBase + "images/" + BADGE + "-small.png'); width:20px; height:40px;\"&gt;&nbsp;&lt;/div&gt;"</var>
+ <var id="FULL_IMAGE">"&lt;img src='" + Khan.urlBase + "images/badges/" + BADGE + "-small.png'&gt;"</var>
+ <var id="HALF_IMAGE">"&lt;div style=\"background-image:url('" + Khan.urlBase + "images/badges/" + BADGE + "-small.png'); width:20px; height:40px;\"&gt;&nbsp;&lt;/div&gt;"</var>
<var id="VALUE_PER_IMG">randFromArray([ 2, 4 ])</var>
<var id="HALF">VALUE_PER_IMG === 1 ? [ 0, 0, 0, 0, 0 ] : [ rand(2), rand(2), rand(2), rand(2), rand(2) ]</var>
</div>
0  images/earth-small.png → images/badges/earth-small.png
View
File renamed without changes
0  images/meteorite-small.png → images/badges/meteorite-small.png
View
File renamed without changes
0  images/moon-small.png → images/badges/moon-small.png
View
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.