Changeset 1190427
- Timestamp:
- 06/30/2015 05:35:31 PM (11 years ago)
- Location:
- militant-moderates-css-parent-selector-mmps/trunk
- Files:
-
- 5 edited
-
css/mmps-ccss.php (modified) (2 diffs)
-
js/mmParentSelector.js (modified) (3 diffs)
-
js/mmParentSelector.min.js (modified) (1 diff)
-
mmParentSelector.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
militant-moderates-css-parent-selector-mmps/trunk/css/mmps-ccss.php
r1189785 r1190427 2 2 /** 3 3 * @package militant-moderates-css-parent-selector-mmps 4 * @version 1.2. 04 * @version 1.2.1 5 5 */ 6 6 /* … … 8 8 Plugin URI: http://www.militantmoderates.org/mmps-quick-start/ 9 9 Description: Adds CSS "Parent Selector" support to your Theme. Apply your CSS Style to Parent/Sibling elements not just the Selected element. 10 Version: 1.2. 010 Version: 1.2.1 11 11 Text Domain: militant-moderates-css-parent-selector-mmps 12 12 Domain Path: /languages -
militant-moderates-css-parent-selector-mmps/trunk/js/mmParentSelector.js
r1189837 r1190427 1 1 /** 2 2 * @package militant-moderates-css-parent-selector-mmps 3 * @version 1.2. 03 * @version 1.2.1 4 4 */ 5 5 /* … … 7 7 Plugin URI: http://www.militantmoderates.org/mmps-quick-start/ 8 8 Description: Adds CSS "Parent Selector" support to your Theme. Apply your CSS Style to Parent/Sibling elements not just the Selected element. 9 Version: 1.2. 09 Version: 1.2.1 10 10 Text Domain: militant-moderates-css-parent-selector-mmps 11 11 Domain Path: /languages … … 30 30 31 31 var packageName = 'militant-moderates-css-parent-selector-mmps'; 32 var packageVersion = '1.2. 0';32 var packageVersion = '1.2.1'; 33 33 34 34 jQuery(document).ready(function( $ ) { -
militant-moderates-css-parent-selector-mmps/trunk/js/mmParentSelector.min.js
r1189837 r1190427 1 1 2 var packageName='militant-moderates-css-parent-selector-mmps';var packageVersion='1.2. 0';jQuery(document).ready(function($){var styleidx=-1,slctridx=1,evidx=0,clsidx=0,CLASS='mmPpSsPrEfIx',eventMap={abort:'abort',active:'focusin',click:'click',dblclick:'dblclick',focus:'focusin',focusout:'focusout',hover:'mouseover',keyup:'keyup',load:'load',mouseleave:'mouseleave',mousemove:'mousemove',mouseout:'mouseout',mouseup:'mouseup',resize:'resize',scroll:'scroll',select:'select',unload:'unload',visited:'click',wheel:'wheel',},pairedEventMap={focusin:'focusout',keydown:'keyup',mousedown:'mouseup mouseout mouseleave',mouseenter:'mouseleave',mouseover:'mouseout',},stateMap={active:':active',disabled:':disabled',empty:':empty',enabled:':enabled',first_child:':first-child',first_of_type:':first-of-type',in_range:':in-range',invalid:':invalid',lang:':lang',last_child:':last-child',last_of_type:':last-of-type',link:':link',not:':not',nth_child:':nth-child',nth_last_child:':nth-last-child',nth_last_of_type:':nth-last-of-type',nth_of_type:':nth-of-type',only_of_type:':only-of-type',only_child:':only-child',optional:':optional',out_of_range:':out-of-range',read_only:':read-only',read_write:':read-write',required:':required',target:':target',valid:':valid',visited:':visited'},pseudoElements={after:'::after',before:'::before',first_letter:'::first-letter',first_line:'::first-line',selection:'::selection'},parsed,parsedSelectors,matches,selectors,selector,parent,target,child,pseudoTargets,declarations,pseudoParent,pseudoParents,childSelector,childElements,REGEX=new RegExp((function(aryRegExp){var ret='';for(var i=0;i<aryRegExp.length;i++){ret+=aryRegExp[i].source;}2 var packageName='militant-moderates-css-parent-selector-mmps';var packageVersion='1.2.1';jQuery(document).ready(function($){var styleidx=-1,slctridx=1,evidx=0,clsidx=0,CLASS='mmPpSsPrEfIx',eventMap={abort:'abort',active:'focusin',click:'click',dblclick:'dblclick',focus:'focusin',focusout:'focusout',hover:'mouseover',keyup:'keyup',load:'load',mouseleave:'mouseleave',mousemove:'mousemove',mouseout:'mouseout',mouseup:'mouseup',resize:'resize',scroll:'scroll',select:'select',unload:'unload',visited:'click',wheel:'wheel',},pairedEventMap={focusin:'focusout',keydown:'keyup',mousedown:'mouseup mouseout mouseleave',mouseenter:'mouseleave',mouseover:'mouseout',},stateMap={active:':active',disabled:':disabled',empty:':empty',enabled:':enabled',first_child:':first-child',first_of_type:':first-of-type',in_range:':in-range',invalid:':invalid',lang:':lang',last_child:':last-child',last_of_type:':last-of-type',link:':link',not:':not',nth_child:':nth-child',nth_last_child:':nth-last-child',nth_last_of_type:':nth-last-of-type',nth_of_type:':nth-of-type',only_of_type:':only-of-type',only_child:':only-child',optional:':optional',out_of_range:':out-of-range',read_only:':read-only',read_write:':read-write',required:':required',target:':target',valid:':valid',visited:':visited'},pseudoElements={after:'::after',before:'::before',first_letter:'::first-letter',first_line:'::first-line',selection:'::selection'},parsed,parsedSelectors,matches,selectors,selector,parent,target,child,pseudoTargets,declarations,pseudoParent,pseudoParents,childSelector,childElements,REGEX=new RegExp((function(aryRegExp){var ret='';for(var i=0;i<aryRegExp.length;i++){ret+=aryRegExp[i].source;} 3 3 return ret;})([/[\w\s\/\.\-\:\=\[\]\(\)\~\+\|\,\*\'\"\^$#>]*(?=!)/,/[\w\s\/\.\-\:\=\[\]\(\)\~\+\|\,\*\'\"\^$#>!]*/,/\{{1}[^\}]+\}{1}/]),"gi");parse=function(sRawCSS){sRawCSS=sRawCSS.replace(/(\/\*([\s\S]*?)\*\/)/gm,'');if(matches=sRawCSS.match(REGEX)){parsed='';for(styleidx=-1;++styleidx<matches.length;){style=$.trim(matches[styleidx]);selectors=$.trim(style.split('{')[0]).split(/\s*,\s*/);declarations='{'+style.split(/\{|\}/)[1].replace(/^\s+|\s+$[\t\n\r]*/g,'')+'}';if(declarations==='{}'){continue;} 4 4 if(!/;}$/.test(declarations)) -
militant-moderates-css-parent-selector-mmps/trunk/mmParentSelector.php
r1189837 r1190427 2 2 /** 3 3 * @package militant-moderates-css-parent-selector-mmps 4 * @version 1.2. 04 * @version 1.2.1 5 5 */ 6 6 /* … … 8 8 Plugin URI: http://www.militantmoderates.org/mmps-quick-start/ 9 9 Description: Adds CSS "Parent Selector" support to your Theme. Apply your CSS Style to Parent/Sibling elements not just the Selected element. 10 Version: 1.2. 010 Version: 1.2.1 11 11 Text Domain: militant-moderates-css-parent-selector-mmps 12 12 Domain Path: /languages … … 40 40 * 2 = Includes all debugging and NOT minified - NOT included in distribution release 41 41 *-------------------------------------------------------------------------------------*/ 42 define( 'MMPS_SCRIPT_DEV', 0); // set as above: 0, 1, 243 define( 'MMPS_SCRIPT_VERSION', '1.2. 0' ); // set to script version number as in header42 define( 'MMPS_SCRIPT_DEV', 2 ); // set as above: 0, 1, 2 43 define( 'MMPS_SCRIPT_VERSION', '1.2.1' ); // set to script version number as in header 44 44 45 45 function mmps_js() { -
militant-moderates-css-parent-selector-mmps/trunk/readme.txt
r1190219 r1190427 43 43 44 44 == Changelog == 45 = 1.2.1 (development) = 46 * (more changes coming) 47 45 48 = 1.2.0 = 46 49 * Added the ability to save custom CSS rules for the entire site and on a per page/post basis
Note: See TracChangeset
for help on using the changeset viewer.