Skip to content

Commit 8878074

Browse files
committed
added content for site
1 parent 7cf8d20 commit 8878074

File tree

6 files changed

+37
-0
lines changed

6 files changed

+37
-0
lines changed

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
See each subfolder

jQuery.Console/Docs/SAMPLE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"Sample":"Docs/sample.html","SampleScriptIncludes":["jQuery.Console.min.js","Docs/sample.js"],"SampleCssIncludes":[], "DocReadies":["InitConsoleSample();"]}
File renamed without changes.

jQuery.Console/Docs/sample.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<div>
2+
<div>
3+
<label>
4+
Enter a jQuery Selector </label> <input type="text" id="selector" value="Enter your selector" />
5+
<input type="button" class="ui-state-default" id="testCustomSelector" value="Test" />
6+
</div>
7+
<div>
8+
<label>
9+
Custom Logging sample
10+
</label>
11+
<input type="button" class="ui-state-default" id="testCustomData" value="Test" />
12+
</div>
13+
</div>

jQuery.Console/Docs/sample.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
function InitConsoleSample(){
2+
$("#testCustomSelector").click(function(){
3+
var selector = $("#selector").val();
4+
var $selection = $(selector);
5+
if ($selection.length)
6+
$selection.Console();
7+
else
8+
$("<div>'" + selector + "' selector did not match any elements..</div>").dialog({
9+
modal :true,
10+
buttons : {
11+
'OK': function(){
12+
$(this).dialog('destroy').remove();
13+
}}
14+
});
15+
});
16+
$("#testCustomData").click(function(){
17+
$.Console.Info('message',['dsad','dasdas'],{orJSON:'312'});
18+
});
19+
}

jQuery.Console/LICENSE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Dual licensed under the MIT and GPL licenses:
2+
http://www.opensource.org/licenses/mit-license.php
3+
http://www.gnu.org/licenses/gpl.html

0 commit comments

Comments
 (0)