Permalink
Commits on May 15, 2012
  1. Fixes for code style in .jshintrc

    David Humphrey committed May 15, 2012
  2. Fix instructions for installing npm packages and deps

    David Humphrey committed May 15, 2012
Commits on May 14, 2012
  1. fixed default remix URL for cases when UI is served from a non-direct…

    …ory-root URL, or when the UI is served from a page whose base href is different from the current page.
    toolness committed May 14, 2012
  2. fixed bug in my last commit.

    toolness committed May 14, 2012
  3. put publish URL in HTML, so dynamic servers can change its value easi…

    …ly. temporary workaround to make friendlycode hostable in django.
    toolness committed May 14, 2012
Commits on May 13, 2012
  1. Updated slowparse version.

    toolness committed May 13, 2012
  2. Use ES5 strict mode on all our own JS files, reducing the possibility…

    … of accidental globals, etc.
    toolness committed May 13, 2012
  3. Removed late-socials.js's reference to $("#share-container"); it's no…

    …w passed in, so that the code is completely decoupled from index.html.
    
    Used $.each() to iterate over the keys in socialMedia, avoiding the need for another non-inline function (and its associated comments).
    
    Also removed accidental 'medium' global.
    
    Changed the constructor signature for SocialMedia() so that a function called getURL() is passed in, which returns the URL to share (the original purpose of 'selector' was confusing me so I thought getURL() was more straightforward).
    toolness committed May 13, 2012
Commits on May 11, 2012
  1. Don't refresh the parachute's original data value immediately after r…

    …estoring saved user data; it might be the case, for instance, that a user activates the parachute but doesn't touch their open tab for 10 minutes (perhaps because they are reading it), then accidentally closes it, in which case they'll probably want to see their old data when they open the page again.
    
    In other words, we only really want to purge the parachute data if the user hasn't looked at it for more than 5 minutes.
    toolness committed May 11, 2012
  2. Now using lscache (see https://github.com/pamelafox/lscache) to store…

    … saved pages for 5 minutes. This should help limit the surprise factor ("why is my page from 3 days ago still in here?") and reduce privacy concerns ("whoa, look at this crazy thing the last user did!") while still helping users with the most frustrating use cases (accidentally closing tabs/browsers/etc). Using lscache also helps ensure that we don't bloat the user's localStorage.
    toolness committed May 11, 2012
  3. Added tipsy jquery plugin, and displaying a tooltip when restoring sa…

    …ved content that says "We've restored your changes to this page from earlier, but you can click this button to undo them." It disappears after 6 seconds. This is just a temporary stopgap to avoid confusing users until we figure out a better solution.
    toolness committed May 11, 2012
Commits on May 10, 2012
  1. Changing the cursor help highlight color to white for now, as it's ve…

    …ry hard for me to dogfood the editor due to #8.
    
    Also removed the !important property, which was overriding the text selection highlight background color, making it impossible to see what your selection was regardless of the cursor help highlight color.
    toolness committed May 10, 2012
Commits on May 9, 2012
  1. FaceBook -> Facebook

    toolness committed May 9, 2012
  2. Merge pull request #9 from Pomax/gh-pages

    re-enabled the share button
    toolness committed May 9, 2012
  3. removed spacing before doctype

    Pomax committed May 9, 2012
  4. updates to lateSocials so that the social media buttons get the saved…

    … URL, not the 'current' URL
    Pomax committed May 9, 2012
Commits on May 8, 2012
  1. scrollbar now shows in code view again. somehow this went away during…

    … the recent style merge, i think.
    toolness committed May 8, 2012
  2. renamed modals.js to share.js

    toolness committed May 8, 2012
  3. Simplified modals.js by having it only deal w/ sharing UI, delegating…

    … more to CSS, and having its dependency passed-in.
    toolness committed May 8, 2012
  4. Until we actually implement the sharing widget, we're renaming 'Save'…

    … to 'Share' and not displaying the real 'Share' button.
    toolness committed May 8, 2012
  5. Merge remote-tracking branch 'pomax/gh-pages' into gh-pages

    Conflicts:
    	css/editor.css
    toolness committed May 8, 2012
  6. cleaned up CSS for editor page

    Pomax committed May 8, 2012