Permalink
Browse files

Updated readme to make really clear that this is not the main reposit…

…ory for jQuery Data Link.

Removed the code from the latest commit to prevent confusion about two different versions/repositories.
  • Loading branch information...
1 parent e747a9a commit 15e331e6969cbfb1cbbc5f924bbe36782fdf2494 @BorisMoore BorisMoore committed Mar 10, 2011
Showing 1,486 changed files with 6 additions and 107,650 deletions.
View
645 README.md

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,95 +0,0 @@
-body {
- font-family: Arial
-}
-a {
- color: #6D929B;
-}
-input {
- width: 100px;
- margin: 5px;
-}
-.results {
- border-collapse: collapse;
-}
-.results td {
- border: 1px solid #C1DAD7;
- padding: 2px 2px 2px 2px;
- color: #6D929B;
- font-size: x-small;
- white-space: nowrap;
- text-align: center;
-}
-.results th {
- border: 1px solid #C1DAD7;
- letter-spacing: 2px;
- text-align: center;
- padding: 6px 6px 6px 12px;
- white-space: nowrap;
-}
-table {
- width: 100%;
-}
-fieldset.info {
- width: 45%;
- float: left;
-}
-.info td {
- font-size: x-small;
-}
-
-.tab {
- margin-top: 5px;
- margin-right: 5px;
- padding: 2px;
- cursor: pointer;
- background-color: #EEEEEE;
-}
-
-.active {
- border: 1px solid black;
- float: left;
-}
-
-.inactive {
- float: left;
-}
-
-.tab.active {
- font-weight: bold;
- border: 1px solid black;
- float: left;
-}
-
-div.inactive {
- display: none;
-}
-
-div.active {
- clear: both;
- min-width: 100%;
-}
-
-.pane {
- margin-top: 10px;
- clear: both;
-}
-
-#intro {
- font-size: x-small;
- margin-bottom: 10px;
-}
-
-.demosection {
- width: 800px
-}
-
-.demo {
- float: left;
- min-height: 300px;
- border: 1px solid #EFEFEF;
- font-size: smaller;
-}
-.demo select
-{
- font-size: x-small;
-}
View
@@ -1,131 +0,0 @@
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <title>Globalization Demo</title>
- <link type="text/css" rel="Stylesheet" href="demo-datepicker.css" />
- <link type="text/css" rel="Stylesheet" href="jquery-ui-1.8.1.custom.css" />
- <script type="text/javascript" src="jquery-1.4.2.min.js"></script>
- <script type="text/javascript" src="../jquery.glob.js"></script>
- <script type="text/javascript" src="../globinfo/jquery.glob.all.min.js"></script>
- <script type="text/javascript" src="jquery.ui.core.js"></script>
- <script type="text/javascript" src="jquery.ui.datepicker.js"></script>
-</head>
-
-<body>
-<div id="intro">
-This is a demo of the Globalization plugin being proposed by Microsoft. You can follow the discussion and provide feedback on the jQuery developer forum, here:
-<br/><a href="http://forum.jquery.com/topic/proposal-for-a-globalization-plugin-jquery-glob-js">jQuery Discussion</a>
-<br/>
-And you can view the source from here or keep up to date with it on github, here:
-<br/><a href="https://github.com/nje/jquery-glob/">jQuery Globalization on GitHub</a>
-</div>
-
-
-
-
-<script type="text/javascript">
-function sortByName(map) {
- // converts a dictionary into a sorted dictionary based on obj.name
- var arr = [];
- $.each(map, function(name, value) {
- arr.push(value);
- });
- arr.sort(function(a, b) {
- return a.name < b.name ? -1 : 1;
- });
- return arr;
-}
-var sortedCultures = sortByName($.cultures);
-
-$.fn.dateSample = function(culture) {
- this.each(function() {
- var thisCulture = culture || $(this).attr("data-culture");
- var cultures = $(".cultures", this);
- var formats = $(".formats", this);
- var picker = $(".picker", this);
- var selected = $(".selected", this);
-
- function createPicker() {
- thisCulture = cultures.val();
- picker.datepicker("destroy").datepicker({
- culture: thisCulture,
- changeMonth: true,
- changeYear: true,
- onSelect: function(dateText) {
- selected.text(dateText);
- }
- });
- selected.text("");
-
- formats.empty();
- $.each($.cultures[thisCulture].calendar.patterns, function(name) {
- $("<option/>", {
- value: name,
- text: $.cultures[thisCulture].calendar.patterns[name]
- }).appendTo(formats);
- });
- formats.val("d");
- }
-
- $.each(sortedCultures, function(i, culture) {
- $("<option/>", {
- value: culture.name,
- text: culture.name + ": " + (culture.englishName || "Invariant")
- }).appendTo(cultures);
- });
- cultures.val(thisCulture);
- cultures.bind("change keyup", createPicker);
-
- formats.bind("change keyup", function() {
- picker.datepicker("option", "dateFormat", $(this).val());
- selected.text("");
- });
-
- createPicker();
- });
-}
-
-$(function() {
- $(".demo").dateSample();
-});
-
-
-</script>
-
-
-<div class="demosection">
-<div class="demo" data-culture="he">
- <div class="picker"></div>
-
- <div>Date: <span class="selected"></span></div>
- <div>Format: <select class="formats"></select></div>
- <select class="cultures"></select>
-</div>
-
-<div class="demo" data-culture="ar">
- <div class="picker"></div>
-
- <div>Date: <span class="selected"></span></div>
- <div>Format: <select class="formats"></select></div>
- <select class="cultures"></select>
-</div>
-
-<div class="demo" data-culture="es-MX">
- <div class="picker"></div>
-
- <div>Date: <span class="selected"></span></div>
- <div>Format: <select class="formats"></select></div>
- <select class="cultures"></select>
-</div>
-
-<div class="demo" data-culture="fr">
- <div class="picker"></div>
-
- <div>Date: <span class="selected"></span></div>
- <div>Format: <select class="formats"></select></div>
- <select class="cultures"></select>
-</div>
-</div>
-
-</body>
-</html>
View
@@ -1,80 +0,0 @@
-body {
- font-family: Arial
-}
-a {
- color: #6D929B;
-}
-input {
- width: 100px;
- margin: 5px;
-}
-.results {
- border-collapse: collapse;
-}
-.results td {
- border: 1px solid #C1DAD7;
- padding: 2px 2px 2px 2px;
- color: #6D929B;
- font-size: x-small;
- white-space: nowrap;
- text-align: center;
-}
-.results th {
- border: 1px solid #C1DAD7;
- letter-spacing: 2px;
- text-align: center;
- padding: 6px 6px 6px 12px;
- white-space: nowrap;
-}
-table {
- width: 100%;
-}
-fieldset.info {
- width: 45%;
- float: left;
-}
-.info td {
- font-size: x-small;
-}
-
-.tab {
- margin-top: 5px;
- margin-right: 5px;
- padding: 2px;
- cursor: pointer;
- background-color: #EEEEEE;
-}
-
-.active {
- border: 1px solid black;
- float: left;
-}
-
-.inactive {
- float: left;
-}
-
-.tab.active {
- font-weight: bold;
- border: 1px solid black;
- float: left;
-}
-
-div.inactive {
- display: none;
-}
-
-div.active {
- clear: both;
- min-width: 100%;
-}
-
-.pane {
- margin-top: 10px;
- clear: both;
-}
-
-#intro {
- font-size: x-small;
- margin-bottom: 10px;
-}
Oops, something went wrong.

0 comments on commit 15e331e

Please sign in to comment.