Commit Graph

11 Commits

Author SHA1 Message Date
Lance Willett
17f69a89d4 Twenty Fourteen: fix escaping and minor code style issues. See #29127.
Built from https://develop.svn.wordpress.org/trunk@31250


git-svn-id: http://core.svn.wordpress.org/trunk@31231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-20 19:03:23 +00:00
Lance Willett
3dc744d0cb Twenty Fourteen: minor spacing and CSS formatting fixes. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26810


git-svn-id: http://core.svn.wordpress.org/trunk@26697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-08 23:11:10 +00:00
Lance Willett
5fbeb4fd9c Twenty Fourteen: remove unused variable in slider.js, see #26191.
Built from https://develop.svn.wordpress.org/trunk@26666


git-svn-id: http://core.svn.wordpress.org/trunk@26556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 08:30:11 +00:00
Lance Willett
b15de66997 Twenty Fourteen: fix two usability issues with touch events on mobile devices with the Featured Content slider:
* Try to avoid the slight delay when swiping from one slide to the next.
 * Fix bug where second to last slide was animating like it was the last.

Fixes #26191.
Built from https://develop.svn.wordpress.org/trunk@26665


git-svn-id: http://core.svn.wordpress.org/trunk@26555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 08:21:10 +00:00
Andrew Nacin
89cbb4405d Twenty Fourteen: RTL for the slider.
props yoavf.
see #25801.

Built from https://develop.svn.wordpress.org/trunk@26606


git-svn-id: http://core.svn.wordpress.org/trunk@26496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 15:09:09 +00:00
Lance Willett
c437b2d508 Twenty Fourteen: standardize comment blocks and jQuery function wrapper calls in JavaScript files. Props seanchayes for initial patch, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26332


git-svn-id: http://core.svn.wordpress.org/trunk@26234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 22:42:09 +00:00
Andrew Nacin
c43e93d935 Fix spaces/tabs in Twenty Fourteen JS, allowing JSHint to run clean for these files.
props dougwollison.
fixes #26031, #26032.

Built from https://develop.svn.wordpress.org/trunk@26261


git-svn-id: http://core.svn.wordpress.org/trunk@26167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-19 03:49:09 +00:00
Lance Willett
a1036ac9f0 Twenty Fourteen: changes to JavaScript files to pass jshint, props jorbin. Fixes #25908 #25909 #25910.
* Add global variable flags to top of JS files.
 * Group variable declarations correctly.
Built from https://develop.svn.wordpress.org/trunk@26084


git-svn-id: http://core.svn.wordpress.org/trunk@26004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 17:27:11 +00:00
Lance Willett
8e0733a6c7 Twenty Fourteen: allow slider "Previous" and "Next" labels to be translated, props michahwave. Fixes #25897.
Built from https://develop.svn.wordpress.org/trunk@26071


git-svn-id: http://core.svn.wordpress.org/trunk@25991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 23:28:09 +00:00
Lance Willett
9d0e238255 Twenty Fourteen: JavaScript fixes after running jshint, see r25960:
* Enforce `===` instead of `==`
 * Fix confusing use of `!`
 * Remove unused variables like `calcNext`, defined but never used
 * Proper use of braces
 * Move functions out of if/else statements
 * Document unknown functions as Microsoft-specific
Built from https://develop.svn.wordpress.org/trunk@25995


git-svn-id: http://core.svn.wordpress.org/trunk@25928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 18:53:10 +00:00
Andrew Nacin
d0cfa40983 Add jshintrc to qunit.
props jorbin.
see #25187.

Built from https://develop.svn.wordpress.org/trunk@25992


git-svn-id: http://core.svn.wordpress.org/trunk@25925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 14:39:10 +00:00