summaryrefslogtreecommitdiffstats
path: root/slick.editors.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2010-05-08 01:48:35 +0800
committerMichael Leibman <michael.leibman@gmail.com>2010-05-10 16:33:25 +0800
commit5438d796f23d0ff8d249638bdbf83a32766a1a63 (patch)
tree6be65de8e2891ee223633cde75193125ed6e6c40 /slick.editors.js
parent2324cc91ac75b56daa0eadcde98f5eff6d44f6c7 (diff)
downloadSlickGrid-5438d796f23d0ff8d249638bdbf83a32766a1a63.zip
SlickGrid-5438d796f23d0ff8d249638bdbf83a32766a1a63.tar.gz
SlickGrid-5438d796f23d0ff8d249638bdbf83a32766a1a63.tar.bz2
switching back to $ since it is now safely within an anonymous self-executing function
Diffstat (limited to 'slick.editors.js')
-rw-r--r--slick.editors.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/slick.editors.js b/slick.editors.js
index 8bed5f4..eb03eeb 100644
--- a/slick.editors.js
+++ b/slick.editors.js
@@ -69,7 +69,7 @@ var SlickEditor = {
var scope = this;
this.init = function() {
- $input = jQuery("<INPUT type=text class='editor-text' />");
+ $input = $("<INPUT type=text class='editor-text' />");
if (value != null)
{
@@ -125,7 +125,7 @@ var SlickEditor = {
var scope = this;
this.init = function() {
- $input = jQuery("<INPUT type=text class='editor-text' />");
+ $input = $("<INPUT type=text class='editor-text' />");
if (value != null)
{
@@ -183,7 +183,7 @@ var SlickEditor = {
var scope = this;
this.init = function() {
- $input = jQuery("<INPUT type=text class='editor-text' />");
+ $input = $("<INPUT type=text class='editor-text' />");
if (value != null)
{
@@ -242,7 +242,7 @@ var SlickEditor = {
var scope = this;
this.init = function() {
- $select = jQuery("<SELECT tabIndex='0' class='editor-yesno'><OPTION value='yes'>Yes</OPTION><OPTION value='no'>No</OPTION></SELECT>");
+ $select = $("<SELECT tabIndex='0' class='editor-yesno'><OPTION value='yes'>Yes</OPTION><OPTION value='no'>No</OPTION></SELECT>");
if (defaultValue)
$select.val('yes');
@@ -293,7 +293,7 @@ var SlickEditor = {
var scope = this;
this.init = function() {
- $select = jQuery("<INPUT type=checkbox value='true' class='editor-checkbox' hideFocus>");
+ $select = $("<INPUT type=checkbox value='true' class='editor-checkbox' hideFocus>");
if (defaultValue)
$select.attr("checked", "checked");
@@ -345,7 +345,7 @@ var SlickEditor = {
var scope = this;
this.init = function() {
- $input = jQuery("<INPUT type=text class='editor-percentcomplete' />");
+ $input = $("<INPUT type=text class='editor-percentcomplete' />");
if (value != null)
{
@@ -356,7 +356,7 @@ var SlickEditor = {
$input.width($container.innerWidth() - 25);
$input.appendTo($container);
- $picker = jQuery("<div class='editor-percentcomplete-picker' />").appendTo($container);
+ $picker = $("<div class='editor-percentcomplete-picker' />").appendTo($container);
$picker.append("<div class='editor-percentcomplete-helper'><div class='editor-percentcomplete-wrapper'><div class='editor-percentcomplete-slider' /><div class='editor-percentcomplete-buttons' /></div></div>");
@@ -374,8 +374,8 @@ var SlickEditor = {
});
$picker.find(".editor-percentcomplete-buttons button").bind("click", function(e) {
- $input.val(jQuery(this).attr("val"));
- $picker.find(".editor-percentcomplete-slider").slider("value", jQuery(this).attr("val"));
+ $input.val($(this).attr("val"));
+ $picker.find(".editor-percentcomplete-slider").slider("value", $(this).attr("val"));
})
};
@@ -396,7 +396,7 @@ var SlickEditor = {
};
this.getValue = function() {
- var val = jQuery.trim($input.val());
+ var val = $.trim($input.val());
return (val == "") ? 0 : parseInt($input.val(), 10);
};
@@ -426,7 +426,7 @@ var SlickEditor = {
var scope = this;
this.init = function() {
- $input = jQuery("<INPUT type=text class='editor-text' />");
+ $input = $("<INPUT type=text class='editor-text' />");
if (value != null)
{
@@ -488,7 +488,7 @@ var SlickEditor = {
var scope = this;
this.init = function() {
- $input = jQuery("<INPUT type=text class='editor-text' />");
+ $input = $("<INPUT type=text class='editor-text' />");
var resources = dataContext ? dataContext["resources"] : null;
@@ -524,7 +524,7 @@ var SlickEditor = {
var names = $input.val().split(",");
for (var i = 0; i < names.length; i++)
- names[i] = jQuery.trim(names[i]);
+ names[i] = $.trim(names[i]);
return names;
};
@@ -572,7 +572,7 @@ var SlickEditor = {
}
this.init = function() {
- $input = jQuery("<IMG src='../images/bullet_star.png' align=absmiddle tabIndex=0 title='Click or press Space to toggle' />");
+ $input = $("<IMG src='../images/bullet_star.png' align=absmiddle tabIndex=0 title='Click or press Space to toggle' />");
if (defaultValue)
$input.css("opacity", 1);