From fdef388e679e4c36e4ce3ed85d86ced598c1bee0 Mon Sep 17 00:00:00 2001 From: deltreey Date: Mon, 24 Apr 2017 02:14:25 -0400 Subject: [PATCH] Release: 1.0.9 --- F__Git_wildstring_wildstring.js.html | 56 +- index.html | 56 +- namespaces.list.html | 49 +- scripts/docstrap.lib.js | 19 +- scripts/toc.js | 44 +- styles/site.cerulean.css | 1188 ++++-- styles/site.cosmo.css | 1227 +++--- styles/site.cyborg.css | 1243 +++--- styles/site.darkly.css | 1178 ++--- styles/site.dibs-bootstrap.css | 5899 ++++++++++++++++++++++++++ styles/site.flatly.css | 1318 +++--- styles/site.journal.css | 1127 +++-- styles/site.lumen.css | 1113 +++-- styles/site.paper.css | 1413 +++--- styles/site.readable.css | 1052 +++-- styles/site.sandstone.css | 1194 +++--- styles/site.simplex.css | 1188 +++--- styles/site.slate.css | 1167 ++--- styles/site.spacelab.css | 1082 +++-- styles/site.superhero.css | 1134 +++-- styles/site.united.css | 1070 +++-- styles/site.yeti.css | 983 +++-- wildstring.html | 260 +- 23 files changed, 17202 insertions(+), 7858 deletions(-) create mode 100644 styles/site.dibs-bootstrap.css diff --git a/F__Git_wildstring_wildstring.js.html b/F__Git_wildstring_wildstring.js.html index 81612a6..97ddec9 100644 --- a/F__Git_wildstring_wildstring.js.html +++ b/F__Git_wildstring_wildstring.js.html @@ -44,15 +44,14 @@
-

Source: F:/Git/wildstring/wildstring.js

Source: F:/Git/wildstring/wildstring.js

-
-
'use strict';
+    
+
'use strict';
 
 /**
 * @namespace wildstring
@@ -84,7 +83,6 @@ var wildstring = {
 				rollbackStrings.push({ string: testString, index: patternIndex });
 				if (testString.indexOf(patternSubstrings[patternIndex]) === -1) {
 					rollbackStrings.pop();
-					break;
 				}
 
 				currentString = currentString.substr(
@@ -230,7 +228,7 @@ if (typeof(module) !== 'undefined') { module.exports = wildstring; }
 if (typeof(angular) !== 'undefined') { angular.module('wildstring', []).factory('wildstring', function() { return wildstring; }); }
 if (typeof(define) !== 'undefined') { define([], wildstring); }
 
-
+
@@ -254,12 +252,11 @@ if (typeof(define) !== 'undefined') { define([], wildstring); } DocStrap Copyright © 2012-2014 The contributors to the JSDoc3 and DocStrap projects. -
- Documentation generated by JSDoc 3.3.2 - on Tue Aug 25th 2015 using the DocStrap template. + Documentation generated by JSDoc 3.4.3 + on Mon Apr 24th 2017 using the DocStrap template. @@ -276,20 +273,6 @@ $( function () { $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) ); } ); - $( "#toc" ).toc( { - anchorName : function ( i, heading, prefix ) { - return $( heading ).attr( "id" ) || ( prefix + i ); - }, - selectors : "h1,h2,h3,h4", - showAndHide : false, - scrollTo : "100px" - } ); - - $( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" ); - $( "#main span[id^='toc']" ).addClass( "toc-shim" ); - $( '.dropdown-toggle' ).dropdown(); - // $( ".tutorial-section pre, .readme-section pre" ).addClass( "sunlight-highlight-javascript" ).addClass( "linenums" ); - $( ".tutorial-section pre, .readme-section pre" ).each( function () { var $this = $( this ); @@ -301,7 +284,8 @@ $( function () { example.html( exampleText ); lang = lang[1]; } else { - lang = "javascript"; + var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/); + lang = langClassMatch ? langClassMatch[1] : "javascript"; } if ( lang ) { @@ -319,6 +303,28 @@ $( function () { showMenu : true, enableDoclinks : true } ); + + $( "#toc" ).toc( { + anchorName : function ( i, heading, prefix ) { + var id = $( heading ).attr( "id" ); + return id && id.replace(/\~/g, '-inner-').replace(/\./g, '-static-') || ( prefix + i ); + }, + selectors : "h1,h2,h3,h4", + showAndHide : false, + navbarOffset: 10, + smoothScrolling: true + } ); + + $( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" ); + $( "#main span[id^='toc']" ).addClass( "toc-shim" ); + $( '.dropdown-toggle' ).dropdown(); + // $( ".tutorial-section pre, .readme-section pre" ).addClass( "sunlight-highlight-javascript" ).addClass( "linenums" ); + + $( "table" ).each( function () { + var $this = $( this ); + $this.addClass('table'); + } ); + } ); diff --git a/index.html b/index.html index 2b2ba76..3284b67 100644 --- a/index.html +++ b/index.html @@ -44,12 +44,9 @@
-

Index

- Index - @@ -71,12 +68,7 @@

wildstring

Simple String Wildcard Handling

-

build status -npm version -Codacy Badge -Code Climate -bitHound Score -Join the chat at https://gitter.im/deltreey/wildstring

+

build status
npm version
Codacy Badge
Code Climate
bitHound Score
Join the chat at https://gitter.im/deltreey/wildstring

Shake it shake it

Installing wildstring is a snap. wildstring has no dependencies, so you don't need anything else to run it. If you want to use tools though, here's some tips on how to install it with popular installers.

node.js

npm install wildstring

then:

var wildstring = require('wildstring');

bower

bower install wildstring

html

<script src="wildstring.js"></script>

Hold me tight

Especially with something that does something new, it's important to see how it works. Below are some examples, but here's a brief explanation as well.

@@ -134,12 +126,11 @@ grunt

grunt will run all the tests and jshint, so just make sure DocStrap Copyright © 2012-2014 The contributors to the JSDoc3 and DocStrap projects. -
- Documentation generated by JSDoc 3.3.2 - on Tue Aug 25th 2015 using the DocStrap template. + Documentation generated by JSDoc 3.4.3 + on Mon Apr 24th 2017 using the DocStrap template. @@ -156,20 +147,6 @@ $( function () { $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) ); } ); - $( "#toc" ).toc( { - anchorName : function ( i, heading, prefix ) { - return $( heading ).attr( "id" ) || ( prefix + i ); - }, - selectors : "h1,h2,h3,h4", - showAndHide : false, - scrollTo : "100px" - } ); - - $( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" ); - $( "#main span[id^='toc']" ).addClass( "toc-shim" ); - $( '.dropdown-toggle' ).dropdown(); - // $( ".tutorial-section pre, .readme-section pre" ).addClass( "sunlight-highlight-javascript" ).addClass( "linenums" ); - $( ".tutorial-section pre, .readme-section pre" ).each( function () { var $this = $( this ); @@ -181,7 +158,8 @@ $( function () { example.html( exampleText ); lang = lang[1]; } else { - lang = "javascript"; + var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/); + lang = langClassMatch ? langClassMatch[1] : "javascript"; } if ( lang ) { @@ -199,6 +177,28 @@ $( function () { showMenu : true, enableDoclinks : true } ); + + $( "#toc" ).toc( { + anchorName : function ( i, heading, prefix ) { + var id = $( heading ).attr( "id" ); + return id && id.replace(/\~/g, '-inner-').replace(/\./g, '-static-') || ( prefix + i ); + }, + selectors : "h1,h2,h3,h4", + showAndHide : false, + navbarOffset: 10, + smoothScrolling: true + } ); + + $( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" ); + $( "#main span[id^='toc']" ).addClass( "toc-shim" ); + $( '.dropdown-toggle' ).dropdown(); + // $( ".tutorial-section pre, .readme-section pre" ).addClass( "sunlight-highlight-javascript" ).addClass( "linenums" ); + + $( "table" ).each( function () { + var $this = $( this ); + $this.addClass('table'); + } ); + } ); diff --git a/namespaces.list.html b/namespaces.list.html index 5a79f85..4adc379 100644 --- a/namespaces.list.html +++ b/namespaces.list.html @@ -44,7 +44,6 @@

-

Namespaces

Namespaces

@@ -67,7 +66,7 @@
- + @@ -161,12 +160,11 @@ DocStrap Copyright © 2012-2014 The contributors to the JSDoc3 and DocStrap projects. -
- Documentation generated by JSDoc 3.3.2 - on Tue Aug 25th 2015 using the DocStrap template. + Documentation generated by JSDoc 3.4.3 + on Mon Apr 24th 2017 using the DocStrap template. @@ -183,20 +181,6 @@ $( function () { $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) ); } ); - $( "#toc" ).toc( { - anchorName : function ( i, heading, prefix ) { - return $( heading ).attr( "id" ) || ( prefix + i ); - }, - selectors : "h1,h2,h3,h4", - showAndHide : false, - scrollTo : "100px" - } ); - - $( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" ); - $( "#main span[id^='toc']" ).addClass( "toc-shim" ); - $( '.dropdown-toggle' ).dropdown(); - // $( ".tutorial-section pre, .readme-section pre" ).addClass( "sunlight-highlight-javascript" ).addClass( "linenums" ); - $( ".tutorial-section pre, .readme-section pre" ).each( function () { var $this = $( this ); @@ -208,7 +192,8 @@ $( function () { example.html( exampleText ); lang = lang[1]; } else { - lang = "javascript"; + var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/); + lang = langClassMatch ? langClassMatch[1] : "javascript"; } if ( lang ) { @@ -226,6 +211,28 @@ $( function () { showMenu : true, enableDoclinks : true } ); + + $( "#toc" ).toc( { + anchorName : function ( i, heading, prefix ) { + var id = $( heading ).attr( "id" ); + return id && id.replace(/\~/g, '-inner-').replace(/\./g, '-static-') || ( prefix + i ); + }, + selectors : "h1,h2,h3,h4", + showAndHide : false, + navbarOffset: 10, + smoothScrolling: true + } ); + + $( "#toc>ul" ).addClass( "nav nav-pills nav-stacked" ); + $( "#main span[id^='toc']" ).addClass( "toc-shim" ); + $( '.dropdown-toggle' ).dropdown(); + // $( ".tutorial-section pre, .readme-section pre" ).addClass( "sunlight-highlight-javascript" ).addClass( "linenums" ); + + $( "table" ).each( function () { + var $this = $( this ); + $this.addClass('table'); + } ); + } ); diff --git a/scripts/docstrap.lib.js b/scripts/docstrap.lib.js index 340e7bc..b8f28a8 100644 --- a/scripts/docstrap.lib.js +++ b/scripts/docstrap.lib.js @@ -1,9 +1,10 @@ -!function(a,b){function c(a){var b=a.length,c=fb.type(a);return fb.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||"function"!==c&&(0===b||"number"==typeof b&&b>0&&b-1 in a)}function d(a){var b=ob[a]={};return fb.each(a.match(hb)||[],function(a,c){b[c]=!0}),b}function e(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=fb.expando+Math.random()}function f(a,c,d){var e;if(d===b&&1===a.nodeType)if(e="data-"+c.replace(sb,"-$1").toLowerCase(),d=a.getAttribute(e),"string"==typeof d){try{d="true"===d?!0:"false"===d?!1:"null"===d?null:+d+""===d?+d:rb.test(d)?JSON.parse(d):d}catch(f){}pb.set(a,c,d)}else d=b;return d}function g(){return!0}function h(){return!1}function i(){try{return T.activeElement}catch(a){}}function j(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}function k(a,b,c){if(fb.isFunction(b))return fb.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return fb.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(Cb.test(b))return fb.filter(b,a,c);b=fb.filter(b,a)}return fb.grep(a,function(a){return bb.call(b,a)>=0!==c})}function l(a,b){return fb.nodeName(a,"table")&&fb.nodeName(1===b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function m(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function n(a){var b=Nb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function o(a,b){for(var c=a.length,d=0;c>d;d++)qb.set(a[d],"globalEval",!b||qb.get(b[d],"globalEval"))}function p(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(qb.hasData(a)&&(f=qb.access(a),g=qb.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)fb.event.add(b,e,j[e][c])}pb.hasData(a)&&(h=pb.access(a),i=fb.extend({},h),pb.set(b,i))}}function q(a,c){var d=a.getElementsByTagName?a.getElementsByTagName(c||"*"):a.querySelectorAll?a.querySelectorAll(c||"*"):[];return c===b||c&&fb.nodeName(a,c)?fb.merge([a],d):d}function r(a,b){var c=b.nodeName.toLowerCase();"input"===c&&Kb.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}function s(a,b){if(b in a)return b;for(var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=_b.length;e--;)if(b=_b[e]+c,b in a)return b;return d}function t(a,b){return a=b||a,"none"===fb.css(a,"display")||!fb.contains(a.ownerDocument,a)}function u(b){return a.getComputedStyle(b,null)}function v(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=qb.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&t(d)&&(f[g]=qb.access(d,"olddisplay",z(d.nodeName)))):f[g]||(e=t(d),(c&&"none"!==c||!e)&&qb.set(d,"olddisplay",e?c:fb.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function w(a,b,c){var d=Ub.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function x(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=fb.css(a,c+$b[f],!0,e)),d?("content"===c&&(g-=fb.css(a,"padding"+$b[f],!0,e)),"margin"!==c&&(g-=fb.css(a,"border"+$b[f]+"Width",!0,e))):(g+=fb.css(a,"padding"+$b[f],!0,e),"padding"!==c&&(g+=fb.css(a,"border"+$b[f]+"Width",!0,e)));return g}function y(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=u(a),g=fb.support.boxSizing&&"border-box"===fb.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Qb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Vb.test(e))return e;d=g&&(fb.support.boxSizingReliable||e===a.style[b]),e=parseFloat(e)||0}return e+x(a,b,c||(g?"border":"content"),d,f)+"px"}function z(a){var b=T,c=Xb[a];return c||(c=A(a,b),"none"!==c&&c||(Rb=(Rb||fb("