Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

improvements in wording of links and documentation

  • Loading branch information...
commit f17e4c0ab28cbf86a869811ce0b527b963ee9a73 1 parent e9611ae
@yuguang authored
View
2  static/css/documentation.css
@@ -81,7 +81,7 @@ body{ font:12px/22px Helvetica, Helvetica Neue, Arial; }
}
aside li {
- display: inline;
+ display: inline-block;
}
aside li:after {
content: ", ";
View
2  static/js/fiddle-configuration.js
@@ -12,7 +12,7 @@ var defaultShare = {
'text':'ShareThis'
};
-var accordionOptions = { fillSpace: false };
+var accordionOptions = { fillSpace: false, collapsible: true };
LANGUAGE = {
PYTHON: 'python',
View
8 static/js/fiddle-engine.coffee
@@ -575,7 +575,7 @@ JavascriptViewer = Viewer.$extend(
else if $element.text() in KEYWORDS.JQUERY_PROTOTYPE and $element.prev().prev().text() is '$'
$element.html "<a href='http://api.jquery.com/#{ $element.text() }/' target='_blank'>#{ $element.text() }</a>"
else if $element.text() of keywordDict(KEYWORDS.DOM)
- $element.html "<a href='http://dochub.io/#dom/#{ keywordDict(KEYWORDS.DOM)[$element.text()] }/' target='_blank'>#{ $element.text() }</a>"
+ $element.html "<a href='http://dochub.io/#dom/#{ keywordDict(KEYWORDS.DOM)[$element.text()] }' target='_blank'>#{ $element.text() }</a>"
)
)
BeautifiedJavascriptViewer = JavascriptViewer.$extend(
@@ -779,7 +779,11 @@ FiddleEditor = Class.$extend(
frame = Frame 'documentation', 'Documentation'
tabs = TabInterface 'documentation-tabs'
- for documentation in [@styleEditor.get_documentation(), @documentEditor.get_documentation(), @programEditor.get_documentation()]
+ if @settings.get_language(LANGUAGE_TYPE.STYLE) is LANGUAGE.LESS
+ editorDocumentation = [@styleEditor.get_documentation(), @documentEditor.get_documentation(), @programEditor.get_documentation()]
+ else
+ editorDocumentation = [@programEditor.get_documentation(), @styleEditor.get_documentation(), @documentEditor.get_documentation()]
+ for documentation in editorDocumentation
tabs.add documentation.title, documentation.content
page = IframeComponent 'jqueryReferenceTab'
page.set_source base_url + '/files/documentation/jquery/index.html'
View
2  static/js/keywords.js
@@ -1,6 +1,6 @@
KEYWORDS = {
JQUERY_OBJECT: [ 'Callbacks', 'ajax', 'ajaxPrefilter', 'ajaxSetup', 'contains', 'data', 'dequeue', 'each', 'error', 'extend', 'get', 'getJSON', 'getScript', 'globalEval', 'grep', 'hasData', 'holdReady', 'inArray', 'isArray', 'isEmptyObject', 'isFunction', 'isNumeric', 'isPlainObject', 'isWindow', 'isXMLDoc', 'makeArray', 'map', 'merge', 'noConflict', 'noop', 'now', 'param', 'parseJSON', 'parseXML', 'post', 'proxy', 'queue', 'removeData', 'sub', 'trim', 'type', 'unique', 'when' ],
- DOM: [ 'addRange', 'anchorNode', 'anchorOffset', 'beforeunload', 'collapse', 'collapseToEnd', 'collapseToStart', 'compositionend', 'compositionstart', 'compositionupdate', 'containsNode', 'cssText', 'deleteFromDocument', 'deleteRule', 'disabled', 'document', 'document.URL', 'document.activeElement', 'document.adoptNode', 'document.alinkColor', 'document.anchors', 'document.applets', 'document.async', 'document.baseURIObject', 'document.bgColor', 'document.body', 'document.characterSet', 'document.clear', 'document.close', 'document.compatMode', 'document.contentType', 'document.cookie', 'document.createAttribute', 'document.createCDATASection', 'document.createComment', 'document.createDocumentFragment', 'document.createElement', 'document.createElementNS', 'document.createEntityReference', 'document.createEvent', 'document.createExpression', 'document.createNSResolver', 'document.createProcessingInstruction', 'document.createRange', 'document.createTextNode', 'document.createTreeWalker', 'document.currentScript', 'document.defaultView', 'document.doctype', 'document.documentElement', 'document.documentURI', 'document.documentURIObject', 'document.domain', 'document.elementFromPoint', 'document.embeds', 'document.enableStyleSheetsForSet', 'document.evaluate', 'document.fgColor', 'document.forms', 'document.getBoxObjectFor', 'document.getElementById', 'document.getElementsByClassName', 'document.getElementsByName', 'document.getElementsByTagName', 'document.getElementsByTagNameNS', 'document.hasFocus', 'document.height', 'document.images', 'document.implementation', 'document.importNode', 'document.inputEncoding', 'document.lastModified', 'document.lastStyleSheetSet', 'document.linkColor', 'document.links', 'document.load', 'document.loadOverlay', 'document.location', 'document.mozCancelFullScreen', 'document.mozFullScreen', 'document.mozFullScreenElement', 'document.mozFullScreenEnabled', 'document.mozSetImageElement', 'document.mozSyntheticDocument', 'document.onreadystatechange', 'document.open', 'document.plugins', 'document.popupNode', 'document.preferredStyleSheetSet', 'document.queryCommandSupported', 'document.querySelector', 'document.querySelectorAll', 'document.readyState', 'document.referrer', 'document.releaseCapture', 'document.scripts', 'document.scripts', 'document.selectedStyleSheetSet', 'document.styleSheetSets', 'document.styleSheets', 'document.title', 'document.tooltipNode', 'document.vlinkColor', 'document.width', 'document.write', 'document.writeln', 'document.xmlVersion', 'element', 'element.addEventListener', 'element.baseURIObject', 'element.blur', 'element.childElementCount', 'element.children', 'element.classList', 'element.className', 'element.click', 'element.clientHeight', 'element.clientLeft', 'element.clientTop', 'element.clientWidth', 'element.contentEditable', 'element.contentEditable', 'element.dataset', 'element.dir', 'element.dispatchEvent', 'element.firstElementChild', 'element.focus', 'element.getAttribute', 'element.getAttributeNS', 'element.getAttributeNode', 'element.getAttributeNodeNS', 'element.getBoundingClientRect', 'element.getClientRects', 'element.getElementsByTagName', 'element.getElementsByTagNameNS', 'element.hasAttribute', 'element.hasAttributeNS', 'element.id', 'element.innerHTML', 'element.insertAdjacentHTML', 'element.isContentEditable', 'element.isContentEditable', 'element.item', 'element.lang', 'element.lastElementChild', 'element.mozMatchesSelector', 'element.mozRequestFullScreen', 'element.mozRequestFullScreen', 'element.mozRequestFullScreen', 'element.name', 'element.nextElementSibling', 'element.offsetHeight', 'element.offsetLeft', 'element.offsetParent', 'element.offsetTop', 'element.offsetWidth', 'element.onafterscriptexecute', 'element.onbeforescriptexecute', 'element.onblur', 'element.onchange', 'element.onclick', 'element.oncopy', 'element.oncut', 'element.ondblclick', 'element.onfocus', 'element.onkeydown', 'element.onkeypress', 'element.onkeyup', 'element.onmousedown', 'element.onmousemove', 'element.onmouseout', 'element.onmouseover', 'element.onmouseup', 'element.onpaste', 'element.onresize', 'element.onscroll', 'element.outerHTML', 'element.previousElementSibling', 'element.querySelector', 'element.querySelectorAll', 'element.removeAttribute', 'element.removeAttributeNS', 'element.removeAttributeNode', 'element.removeEventListener', 'element.scrollHeight', 'element.scrollIntoView', 'element.scrollLeft', 'element.scrollTop', 'element.scrollWidth', 'element.setAttribute', 'element.setAttributeNS', 'element.setAttributeNode', 'element.setAttributeNodeNS', 'element.setCapture', 'element.style', 'element.tabIndex', 'element.tagName', 'element.title', 'error', 'event.altKey', 'event.bubbles', 'event.button', 'event.cancelBubble', 'event.cancelable', 'event.clientX', 'event.clientY', 'event.ctrlKey', 'event.currentTarget', 'event.defaultPrevented', 'event.detail', 'event.eventPhase', 'event.explicitOriginalTarget', 'event.initEvent', 'event.initKeyEvent', 'event.initMouseEvent', 'event.initUIEvent', 'event.metaKey', 'event.mozInputSource', 'event.originalTarget', 'event.preventDefault', 'event.relatedTarget', 'event.screenX', 'event.screenY', 'event.shiftKey', 'event.stopImmediatePropagation', 'event.stopPropagation', 'event.target', 'event.timeStamp', 'event.type', 'event.view', 'extend', 'focusNode', 'focusOffset', 'form.acceptCharset', 'form.action', 'form.elements', 'form.enctype', 'form.length', 'form.method', 'form.name', 'form.reset', 'form.submit', 'form.target', 'getRangeAt', 'href', 'insertRule', 'isCollapsed', 'media', 'modify', 'mouseenter', 'mouseleave', 'navigator.doNotTrack', 'navigator.mozNotification', 'navigator.registerProtocolHandler', 'notification', 'ownerNode', 'parentStyleSheet', 'range', 'range.cloneContents', 'range.cloneRange', 'range.collapse', 'range.collapsed', 'range.commonAncestorContainer', 'range.compareBoundaryPoints', 'range.compareNode', 'range.comparePoint', 'range.createContextualFragment', 'range.deleteContents', 'range.detach', 'range.endContainer', 'range.endOffset', 'range.extractContents', 'range.getBoundingClientRect', 'range.getClientRects', 'range.insertNode', 'range.intersectsNode', 'range.isPointInRange', 'range.selectNode', 'range.selectNodeContents', 'range.setEnd', 'range.setEndAfter', 'range.setEndBefore', 'range.setStart', 'range.setStartAfter', 'range.setStartBefore', 'range.startContainer', 'range.startOffset', 'range.surroundContents', 'range.toString', 'rangeCount', 'removeAllRanges', 'removeRange', 'select.type', 'selectAllChildren', 'selectionLanguageChange', 'selectorText', 'style', 'style.media', 'style.type', 'table.align', 'table.bgColor', 'table.border', 'table.caption', 'table.cellPadding', 'table.cellSpacing', 'table.createCaption', 'table.createTFoot', 'table.createTHead', 'table.deleteCaption', 'table.deleteRow', 'table.deleteTFoot', 'table.deleteTHead', 'table.frame', 'table.insertRow', 'table.rows', 'table.rules', 'table.summary', 'table.tBodies', 'table.tFoot', 'table.tHead', 'table.width', 'tableRow.insertCell', 'title', 'toString', 'treeWalker', 'treeWalker.filter', 'treeWalker.root', 'treeWalker.whatToShow', 'type', 'window', 'window.URL', 'window.URL.createObjectURL', 'window.URL.revokeObjectURL', 'window.alert', 'window.applicationCache', 'window.atob', 'window.back', 'window.blur', 'window.btoa', 'window.captureEvents', 'window.clearImmediate', 'window.clearInterval', 'window.clearTimeout', 'window.close', 'window.closed', 'window.confirm', 'window.content', 'window.controllers', 'window.crypto', 'window.defaultStatus', 'window.dialogArguments', 'window.directories', 'window.document', 'window.dump', 'window.escape', 'window.find', 'window.focus', 'window.forward', 'window.frameElement', 'window.frames', 'window.fullScreen', 'window.getAttention', 'window.getComputedStyle', 'window.getSelection', 'window.history', 'window.home', 'window.innerHeight', 'window.innerWidth', 'window.length', 'window.location', 'window.locationbar', 'window.matchMedia', 'window.menubar', 'window.messageManager', 'window.moveBy', 'window.moveTo', 'window.mozAnimationStartTime', 'window.mozInnerScreenX', 'window.mozInnerScreenY', 'window.mozPaintCount', 'window.name', 'window.navigator', 'window.navigator.appCodeName', 'window.navigator.appName', 'window.navigator.appVersion', 'window.navigator.buildID', 'window.navigator.cookieEnabled', 'window.navigator.javaEnabled', 'window.navigator.language', 'window.navigator.mimeTypes', 'window.navigator.mozIsLocallyAvailable', 'window.navigator.onLine', 'window.navigator.oscpu', 'window.navigator.platform', 'window.navigator.plugins', 'window.navigator.product', 'window.navigator.productSub', 'window.navigator.registerContentHandler', 'window.navigator.userAgent', 'window.navigator.vendor', 'window.navigator.vendorSub', 'window.onabort', 'window.onbeforeunload', 'window.onblur', 'window.onchange', 'window.onclick', 'window.onclose', 'window.oncontextmenu', 'window.ondevicemotion', 'window.ondeviceorientation', 'window.ondragdrop', 'window.onerror', 'window.onfocus', 'window.onhashchange', 'window.onkeydown', 'window.onkeypress', 'window.onkeyup', 'window.onload', 'window.onmousedown', 'window.onmousemove', 'window.onmouseout', 'window.onmouseover', 'window.onmouseup', 'window.onmozbeforepaint', 'window.onpaint', 'window.onpopstate', 'window.onreset', 'window.onresize', 'window.onscroll', 'window.onselect', 'window.onsubmit', 'window.onunload', 'window.open', 'window.openDialog', 'window.opener', 'window.outerHeight', 'window.outerWidth', 'window.parent', 'window.personalbar', 'window.pkcs11', 'window.postMessage', 'window.print', 'window.prompt', 'window.releaseEvents', 'window.requestAnimationFrame', 'window.resizeBy', 'window.resizeTo', 'window.screen', 'window.screen.availHeight', 'window.screen.availLeft', 'window.screen.availTop', 'window.screen.availWidth', 'window.screen.colorDepth', 'window.screen.height', 'window.screen.left', 'window.screen.pixelDepth', 'window.screen.top', 'window.screen.width', 'window.screenX', 'window.screenY', 'window.scroll', 'window.scrollBy', 'window.scrollByLines', 'window.scrollByPages', 'window.scrollMaxX', 'window.scrollMaxY', 'window.scrollTo', 'window.scrollX', 'window.scrollY', 'window.scrollbars', 'window.self', 'window.setCursor', 'window.setImmediate', 'window.setInterval', 'window.setTimeout', 'window.showModalDialog', 'window.sidebar', 'window.sizeToContent', 'window.status', 'window.statusbar', 'window.stop', 'window.toolbar', 'window.top', 'window.unescape', 'window.updateCommands', 'window.window', 'About the Document Object Model', 'Attr', 'Blob', 'BlobBuilder', 'CDATASection', 'CSS Reference', 'CSSRule', 'CSSRuleList', 'CSSStyleDeclaration', 'CSSStyleRule', 'CSSStyleSheet', 'CanvasGradient', 'CanvasPattern', 'CanvasPixelArray', 'CanvasRenderingContext2D', 'CharacterData', 'ChromeWorker', 'Comment', 'Comparison of Event Targets', 'CompositionEvent', 'CustomEvent', 'DOM', 'DOM Client Object Cross-Reference', 'DOM Events', 'DOM Inspector', 'DOM Inspector FAQ', 'DOM Storage', 'DOM event handlers', 'DOM event reference', 'DOMConfiguration', 'DOMError', 'DOMErrorHandler', 'DOMException', 'DOMImplementation', 'DOMImplementationList', 'DOMImplementationRegistry', 'DOMImplementationSource', 'DOMLocator', 'DOMObject', 'DOMString', 'DOMStringList', 'DOMStringMap', 'DOMTimeStamp', 'DOMTokenList', 'DOMUserData', 'DeviceMotionEvent', 'DeviceMotionEvent.acceleration', 'DeviceMotionEvent.accelerationIncludingGravity', 'DeviceMotionEvent.interval', 'DeviceMotionEvent.rotationRate', 'DeviceOrientationEvent', 'DeviceOrientationEvent.absolute', 'DeviceOrientationEvent.alpha', 'DeviceOrientationEvent.beta', 'DeviceOrientationEvent.gamma', 'Displaying notifications', 'DocumentFragment', 'DocumentType', 'Entity', 'EntityReference', 'Event', 'EventListener', 'EventTarget', 'File', 'FileError', 'FileList', 'FileReader', 'FormData', 'HTMLAnchorElement', 'HTMLAreaElement', 'HTMLAudioElement', 'HTMLBRElement', 'HTMLBaseElement', 'HTMLBodyElement', 'HTMLButtonElement', 'HTMLCanvasElement', 'HTMLCollection', 'HTMLDListElement', 'HTMLDivElement', 'HTMLDocument', 'HTMLElement', 'HTMLEmbedElement', 'HTMLFieldSetElement', 'HTMLFormControlsCollection', 'HTMLFormElement', 'HTMLHRElement', 'HTMLHeadElement', 'HTMLHeadingElement', 'HTMLHtmlElement', 'HTMLIFrameElement', 'HTMLImageElement', 'HTMLInputElement', 'HTMLKeygenElement', 'HTMLLIElement', 'HTMLLabelElement', 'HTMLLegendElement', 'HTMLLinkElement', 'HTMLMediaElement', 'HTMLMetaElement', 'HTMLModElement', 'HTMLObjectElement', 'HTMLOptionElement', 'HTMLOptionsCollection', 'HTMLOutputElement', 'HTMLParagraphElement', 'HTMLQuoteElement', 'HTMLSelectElement', 'HTMLSourceElement', 'HTMLStyleElement', 'HTMLTableCaptionElement', 'HTMLTableColElement', 'HTMLTableElement', 'HTMLTableRowElement', 'HTMLTextAreaElement', 'HTMLTitleElement', 'HTMLVideoElement', 'ImageData', 'Input.mozGetFileNameArray', 'Input.mozSetFileNameArray', 'Input.setSelectionRange', 'Introduction to DOM Inspector', 'KeyboardEvent', 'Manipulating the browser history', 'MediaQueryList', 'MediaQueryListListener', 'MouseEvent', 'NameList', 'NamedNodeMap', 'Node', 'Node.appendChild', 'Node.attributes', 'Node.baseURI', 'Node.childNodes', 'Node.cloneNode', 'Node.compareDocumentPosition', 'Node.contains', 'Node.firstChild', 'Node.getUserData', 'Node.hasAttributes', 'Node.hasChildNodes', 'Node.insertBefore', 'Node.isDefaultNamespace', 'Node.isEqualNode', 'Node.isSameNode', 'Node.isSupported', 'Node.lastChild', 'Node.localName', 'Node.lookupNamespaceURI', 'Node.lookupPrefix', 'Node.namespaceURI', 'Node.nextSibling', 'Node.nodeName', 'Node.nodePrincipal', 'Node.nodeType', 'Node.nodeValue', 'Node.normalize', 'Node.ownerDocument', 'Node.parentElement', 'Node.parentNode', 'Node.prefix', 'Node.previousSibling', 'Node.removeChild', 'Node.replaceChild', 'Node.setUserData', 'Node.textContent', 'NodeFilter', 'NodeIterator', 'NodeList', 'Notation', 'NotifyAudioAvailableEvent', 'Orientation and motion data explained', 'Plugin', 'PluginArray', 'ProcessingInstruction', 'RotationRate', 'RotationRate.alpha', 'RotationRate.beta', 'RotationRate.gamma', 'SVGAElement', 'SVGAngle', 'SVGAnimateColorElement', 'SVGAnimateElement', 'SVGAnimateMotionElement', 'SVGAnimateTransformElement', 'SVGAnimatedAngle', 'SVGAnimatedBoolean', 'SVGAnimatedEnumeration', 'SVGAnimatedInteger', 'SVGAnimatedLength', 'SVGAnimatedLengthList', 'SVGAnimatedNumber', 'SVGAnimatedNumberList', 'SVGAnimatedPoints', 'SVGAnimatedRect', 'SVGAnimatedString', 'SVGAnimatedTransformList', 'SVGAnimationElement', 'SVGCircleElement', 'SVGClipPathElement', 'SVGDefsElement', 'SVGDescElement', 'SVGElement', 'SVGEllipseElement', 'SVGFontElement', 'SVGFontFaceElement', 'SVGFontFaceFormatElement', 'SVGFontFaceNameElement', 'SVGFontFaceSrcElement', 'SVGFontFaceUriElement', 'SVGForeignObjectElement', 'SVGGElement', 'SVGGlyphElement', 'SVGGradientElement', 'SVGHKernElement', 'SVGImageElement', 'SVGLength', 'SVGLengthList', 'SVGLineElement', 'SVGLinearGradientElement', 'SVGMPathElement', 'SVGMaskElement', 'SVGMatrix', 'SVGMissingGlyphElement', 'SVGNumber', 'SVGNumberList', 'SVGPathElement', 'SVGPatternElement', 'SVGPolygonElement', 'SVGPolylineElement', 'SVGRadialGradientElement', 'SVGRect', 'SVGRectElement', 'SVGSVGElement', 'SVGScriptElement', 'SVGSetElement', 'SVGStopElement', 'SVGStringList', 'SVGStylable', 'SVGStyleElement', 'SVGSwitchElement', 'SVGSymbolElement', 'SVGTRefElement', 'SVGTSpanElement', 'SVGTests', 'SVGTextElement', 'SVGTextPositioningElement', 'SVGTitleElement', 'SVGTransform', 'SVGTransformList', 'SVGTransformable', 'SVGUseElement', 'SVGVKernElement', 'SVGViewElement', 'Selection', 'SharedWorker', 'StorageEvent', 'StyleSheet', 'Text', 'TextMetrics', 'The structured clone algorithm', 'TimeRanges', 'TimeRanges.end', 'TimeRanges.length', 'TimeRanges.start', 'TypeInfo', 'UserDataHandler', 'Using XMLHttpRequest', 'Using dynamic styling information', 'Using full-screen mode', 'Using the Page Visibility API', 'ValidityState', 'Worker', 'XMLHttpRequest' ],
+ DOM: [ 'addRange', 'anchorNode', 'anchorOffset', 'beforeunload', 'collapse', 'collapseToEnd', 'collapseToStart', 'compositionend', 'compositionstart', 'compositionupdate', 'containsNode', 'cssText', 'deleteFromDocument', 'deleteRule', 'disabled', 'document', 'document.URL', 'document.activeElement', 'document.adoptNode', 'document.alinkColor', 'document.anchors', 'document.applets', 'document.async', 'document.baseURIObject', 'document.bgColor', 'document.body', 'document.characterSet', 'document.clear', 'document.close', 'document.compatMode', 'document.contentType', 'document.cookie', 'document.createAttribute', 'document.createCDATASection', 'document.createComment', 'document.createDocumentFragment', 'document.createElement', 'document.createElementNS', 'document.createEntityReference', 'document.createEvent', 'document.createExpression', 'document.createNSResolver', 'document.createProcessingInstruction', 'document.createRange', 'document.createTextNode', 'document.createTreeWalker', 'document.currentScript', 'document.defaultView', 'document.doctype', 'document.documentElement', 'document.documentURI', 'document.documentURIObject', 'document.domain', 'document.elementFromPoint', 'document.embeds', 'document.enableStyleSheetsForSet', 'document.evaluate', 'document.fgColor', 'document.forms', 'document.getBoxObjectFor', 'document.getElementById', 'document.getElementsByClassName', 'document.getElementsByName', 'document.getElementsByTagName', 'document.getElementsByTagNameNS', 'document.hasFocus', 'document.height', 'document.images', 'document.implementation', 'document.importNode', 'document.inputEncoding', 'document.lastModified', 'document.lastStyleSheetSet', 'document.linkColor', 'document.links', 'document.load', 'document.loadOverlay', 'document.location', 'document.mozCancelFullScreen', 'document.mozFullScreen', 'document.mozFullScreenElement', 'document.mozFullScreenEnabled', 'document.mozSetImageElement', 'document.mozSyntheticDocument', 'document.onreadystatechange', 'document.open', 'document.plugins', 'document.popupNode', 'document.preferredStyleSheetSet', 'document.queryCommandSupported', 'document.querySelector', 'document.querySelectorAll', 'document.readyState', 'document.referrer', 'document.releaseCapture', 'document.scripts', 'document.scripts', 'document.selectedStyleSheetSet', 'document.styleSheetSets', 'document.styleSheets', 'document.title', 'document.tooltipNode', 'document.vlinkColor', 'document.width', 'document.write', 'document.writeln', 'document.xmlVersion', 'element', 'element.addEventListener', 'element.baseURIObject', 'element.blur', 'element.childElementCount', 'element.children', 'element.classList', 'element.className', 'element.click', 'element.clientHeight', 'element.clientLeft', 'element.clientTop', 'element.clientWidth', 'element.contentEditable', 'element.contentEditable', 'element.dataset', 'element.dir', 'element.dispatchEvent', 'element.firstElementChild', 'element.focus', 'element.getAttribute', 'element.getAttributeNS', 'element.getAttributeNode', 'element.getAttributeNodeNS', 'element.getBoundingClientRect', 'element.getClientRects', 'element.getElementsByTagName', 'element.getElementsByTagNameNS', 'element.hasAttribute', 'element.hasAttributeNS', 'element.id', 'element.innerHTML', 'element.insertAdjacentHTML', 'element.isContentEditable', 'element.isContentEditable', 'element.item', 'element.lang', 'element.lastElementChild', 'element.mozMatchesSelector', 'element.mozRequestFullScreen', 'element.mozRequestFullScreen', 'element.mozRequestFullScreen', 'element.name', 'element.nextElementSibling', 'element.offsetHeight', 'element.offsetLeft', 'element.offsetParent', 'element.offsetTop', 'element.offsetWidth', 'element.onafterscriptexecute', 'element.onbeforescriptexecute', 'element.onblur', 'element.onchange', 'element.onclick', 'element.oncopy', 'element.oncut', 'element.ondblclick', 'element.onfocus', 'element.onkeydown', 'element.onkeypress', 'element.onkeyup', 'element.onmousedown', 'element.onmousemove', 'element.onmouseout', 'element.onmouseover', 'element.onmouseup', 'element.onpaste', 'element.onresize', 'element.onscroll', 'element.outerHTML', 'element.previousElementSibling', 'element.querySelector', 'element.querySelectorAll', 'element.removeAttribute', 'element.removeAttributeNS', 'element.removeAttributeNode', 'element.removeEventListener', 'element.scrollHeight', 'element.scrollIntoView', 'element.scrollLeft', 'element.scrollTop', 'element.scrollWidth', 'element.setAttribute', 'element.setAttributeNS', 'element.setAttributeNode', 'element.setAttributeNodeNS', 'element.setCapture', 'element.style', 'element.tabIndex', 'element.tagName', 'element.title', 'error', 'event.altKey', 'event.bubbles', 'event.button', 'event.cancelBubble', 'event.cancelable', 'event.clientX', 'event.clientY', 'event.ctrlKey', 'event.currentTarget', 'event.defaultPrevented', 'event.detail', 'event.eventPhase', 'event.explicitOriginalTarget', 'event.initEvent', 'event.initKeyEvent', 'event.initMouseEvent', 'event.initUIEvent', 'event.metaKey', 'event.mozInputSource', 'event.originalTarget', 'event.preventDefault', 'event.relatedTarget', 'event.screenX', 'event.screenY', 'event.shiftKey', 'event.stopImmediatePropagation', 'event.stopPropagation', 'event.target', 'event.timeStamp', 'event.type', 'event.view', 'extend', 'focusNode', 'focusOffset', 'form.acceptCharset', 'form.action', 'form.elements', 'form.enctype', 'form.method', 'form.name', 'form.reset', 'form.submit', 'form.target', 'getRangeAt', 'href', 'insertRule', 'isCollapsed', 'media', 'modify', 'mouseenter', 'mouseleave', 'navigator.doNotTrack', 'navigator.mozNotification', 'navigator.registerProtocolHandler', 'notification', 'ownerNode', 'parentStyleSheet', 'range', 'range.cloneContents', 'range.cloneRange', 'range.collapse', 'range.collapsed', 'range.commonAncestorContainer', 'range.compareBoundaryPoints', 'range.compareNode', 'range.comparePoint', 'range.createContextualFragment', 'range.deleteContents', 'range.detach', 'range.endContainer', 'range.endOffset', 'range.extractContents', 'range.getBoundingClientRect', 'range.getClientRects', 'range.insertNode', 'range.intersectsNode', 'range.isPointInRange', 'range.selectNode', 'range.selectNodeContents', 'range.setEnd', 'range.setEndAfter', 'range.setEndBefore', 'range.setStart', 'range.setStartAfter', 'range.setStartBefore', 'range.startContainer', 'range.startOffset', 'range.surroundContents', 'range.toString', 'rangeCount', 'removeAllRanges', 'removeRange', 'select.type', 'selectAllChildren', 'selectionLanguageChange', 'selectorText', 'style', 'style.media', 'style.type', 'table.align', 'table.bgColor', 'table.border', 'table.caption', 'table.cellPadding', 'table.cellSpacing', 'table.createCaption', 'table.createTFoot', 'table.createTHead', 'table.deleteCaption', 'table.deleteRow', 'table.deleteTFoot', 'table.deleteTHead', 'table.frame', 'table.insertRow', 'table.rows', 'table.rules', 'table.summary', 'table.tBodies', 'table.tFoot', 'table.tHead', 'table.width', 'tableRow.insertCell', 'title', 'toString', 'treeWalker', 'treeWalker.filter', 'treeWalker.root', 'treeWalker.whatToShow', 'type', 'window', 'window.URL', 'window.URL.createObjectURL', 'window.URL.revokeObjectURL', 'window.alert', 'window.applicationCache', 'window.atob', 'window.back', 'window.blur', 'window.btoa', 'window.captureEvents', 'window.clearImmediate', 'window.clearInterval', 'window.clearTimeout', 'window.close', 'window.closed', 'window.confirm', 'window.content', 'window.controllers', 'window.crypto', 'window.defaultStatus', 'window.dialogArguments', 'window.directories', 'window.document', 'window.dump', 'window.escape', 'window.find', 'window.focus', 'window.forward', 'window.frameElement', 'window.frames', 'window.fullScreen', 'window.getAttention', 'window.getComputedStyle', 'window.getSelection', 'window.history', 'window.home', 'window.innerHeight', 'window.innerWidth', 'window.location', 'window.locationbar', 'window.matchMedia', 'window.menubar', 'window.messageManager', 'window.moveBy', 'window.moveTo', 'window.mozAnimationStartTime', 'window.mozInnerScreenX', 'window.mozInnerScreenY', 'window.mozPaintCount', 'window.name', 'window.navigator', 'window.navigator.appCodeName', 'window.navigator.appName', 'window.navigator.appVersion', 'window.navigator.buildID', 'window.navigator.cookieEnabled', 'window.navigator.javaEnabled', 'window.navigator.language', 'window.navigator.mimeTypes', 'window.navigator.mozIsLocallyAvailable', 'window.navigator.onLine', 'window.navigator.oscpu', 'window.navigator.platform', 'window.navigator.plugins', 'window.navigator.product', 'window.navigator.productSub', 'window.navigator.registerContentHandler', 'window.navigator.userAgent', 'window.navigator.vendor', 'window.navigator.vendorSub', 'window.onabort', 'window.onbeforeunload', 'window.onblur', 'window.onchange', 'window.onclick', 'window.onclose', 'window.oncontextmenu', 'window.ondevicemotion', 'window.ondeviceorientation', 'window.ondragdrop', 'window.onerror', 'window.onfocus', 'window.onhashchange', 'window.onkeydown', 'window.onkeypress', 'window.onkeyup', 'window.onload', 'window.onmousedown', 'window.onmousemove', 'window.onmouseout', 'window.onmouseover', 'window.onmouseup', 'window.onmozbeforepaint', 'window.onpaint', 'window.onpopstate', 'window.onreset', 'window.onresize', 'window.onscroll', 'window.onselect', 'window.onsubmit', 'window.onunload', 'window.open', 'window.openDialog', 'window.opener', 'window.outerHeight', 'window.outerWidth', 'window.parent', 'window.personalbar', 'window.pkcs11', 'window.postMessage', 'window.print', 'window.prompt', 'window.releaseEvents', 'window.requestAnimationFrame', 'window.resizeBy', 'window.resizeTo', 'window.screen', 'window.screen.availHeight', 'window.screen.availLeft', 'window.screen.availTop', 'window.screen.availWidth', 'window.screen.colorDepth', 'window.screen.height', 'window.screen.left', 'window.screen.pixelDepth', 'window.screen.top', 'window.screen.width', 'window.screenX', 'window.screenY', 'window.scroll', 'window.scrollBy', 'window.scrollByLines', 'window.scrollByPages', 'window.scrollMaxX', 'window.scrollMaxY', 'window.scrollTo', 'window.scrollX', 'window.scrollY', 'window.scrollbars', 'window.self', 'window.setCursor', 'window.setImmediate', 'window.setInterval', 'window.setTimeout', 'window.showModalDialog', 'window.sidebar', 'window.sizeToContent', 'window.status', 'window.statusbar', 'window.stop', 'window.toolbar', 'window.top', 'window.unescape', 'window.updateCommands', 'window.window', 'About the Document Object Model', 'Attr', 'Blob', 'BlobBuilder', 'CDATASection', 'CSS Reference', 'CSSRule', 'CSSRuleList', 'CSSStyleDeclaration', 'CSSStyleRule', 'CSSStyleSheet', 'CanvasGradient', 'CanvasPattern', 'CanvasPixelArray', 'CanvasRenderingContext2D', 'CharacterData', 'ChromeWorker', 'Comment', 'Comparison of Event Targets', 'CompositionEvent', 'CustomEvent', 'DOM', 'DOM Client Object Cross-Reference', 'DOM Events', 'DOM Inspector', 'DOM Inspector FAQ', 'DOM Storage', 'DOM event handlers', 'DOM event reference', 'DOMConfiguration', 'DOMError', 'DOMErrorHandler', 'DOMException', 'DOMImplementation', 'DOMImplementationList', 'DOMImplementationRegistry', 'DOMImplementationSource', 'DOMLocator', 'DOMObject', 'DOMString', 'DOMStringList', 'DOMStringMap', 'DOMTimeStamp', 'DOMTokenList', 'DOMUserData', 'DeviceMotionEvent', 'DeviceMotionEvent.acceleration', 'DeviceMotionEvent.accelerationIncludingGravity', 'DeviceMotionEvent.interval', 'DeviceMotionEvent.rotationRate', 'DeviceOrientationEvent', 'DeviceOrientationEvent.absolute', 'DeviceOrientationEvent.alpha', 'DeviceOrientationEvent.beta', 'DeviceOrientationEvent.gamma', 'Displaying notifications', 'DocumentFragment', 'DocumentType', 'Entity', 'EntityReference', 'Event', 'EventListener', 'EventTarget', 'File', 'FileError', 'FileList', 'FileReader', 'FormData', 'HTMLAnchorElement', 'HTMLAreaElement', 'HTMLAudioElement', 'HTMLBRElement', 'HTMLBaseElement', 'HTMLBodyElement', 'HTMLButtonElement', 'HTMLCanvasElement', 'HTMLCollection', 'HTMLDListElement', 'HTMLDivElement', 'HTMLDocument', 'HTMLElement', 'HTMLEmbedElement', 'HTMLFieldSetElement', 'HTMLFormControlsCollection', 'HTMLFormElement', 'HTMLHRElement', 'HTMLHeadElement', 'HTMLHeadingElement', 'HTMLHtmlElement', 'HTMLIFrameElement', 'HTMLImageElement', 'HTMLInputElement', 'HTMLKeygenElement', 'HTMLLIElement', 'HTMLLabelElement', 'HTMLLegendElement', 'HTMLLinkElement', 'HTMLMediaElement', 'HTMLMetaElement', 'HTMLModElement', 'HTMLObjectElement', 'HTMLOptionElement', 'HTMLOptionsCollection', 'HTMLOutputElement', 'HTMLParagraphElement', 'HTMLQuoteElement', 'HTMLSelectElement', 'HTMLSourceElement', 'HTMLStyleElement', 'HTMLTableCaptionElement', 'HTMLTableColElement', 'HTMLTableElement', 'HTMLTableRowElement', 'HTMLTextAreaElement', 'HTMLTitleElement', 'HTMLVideoElement', 'ImageData', 'Input.mozGetFileNameArray', 'Input.mozSetFileNameArray', 'Input.setSelectionRange', 'Introduction to DOM Inspector', 'KeyboardEvent', 'Manipulating the browser history', 'MediaQueryList', 'MediaQueryListListener', 'MouseEvent', 'NameList', 'NamedNodeMap', 'Node', 'Node.appendChild', 'Node.attributes', 'Node.baseURI', 'Node.childNodes', 'Node.cloneNode', 'Node.compareDocumentPosition', 'Node.contains', 'Node.firstChild', 'Node.getUserData', 'Node.hasAttributes', 'Node.hasChildNodes', 'Node.insertBefore', 'Node.isDefaultNamespace', 'Node.isEqualNode', 'Node.isSameNode', 'Node.isSupported', 'Node.lastChild', 'Node.localName', 'Node.lookupNamespaceURI', 'Node.lookupPrefix', 'Node.namespaceURI', 'Node.nextSibling', 'Node.nodeName', 'Node.nodePrincipal', 'Node.nodeType', 'Node.nodeValue', 'Node.normalize', 'Node.ownerDocument', 'Node.parentElement', 'Node.parentNode', 'Node.prefix', 'Node.previousSibling', 'Node.removeChild', 'Node.replaceChild', 'Node.setUserData', 'Node.textContent', 'NodeFilter', 'NodeIterator', 'NodeList', 'Notation', 'NotifyAudioAvailableEvent', 'Orientation and motion data explained', 'Plugin', 'PluginArray', 'ProcessingInstruction', 'RotationRate', 'RotationRate.alpha', 'RotationRate.beta', 'RotationRate.gamma', 'SVGAElement', 'SVGAngle', 'SVGAnimateColorElement', 'SVGAnimateElement', 'SVGAnimateMotionElement', 'SVGAnimateTransformElement', 'SVGAnimatedAngle', 'SVGAnimatedBoolean', 'SVGAnimatedEnumeration', 'SVGAnimatedInteger', 'SVGAnimatedLength', 'SVGAnimatedLengthList', 'SVGAnimatedNumber', 'SVGAnimatedNumberList', 'SVGAnimatedPoints', 'SVGAnimatedRect', 'SVGAnimatedString', 'SVGAnimatedTransformList', 'SVGAnimationElement', 'SVGCircleElement', 'SVGClipPathElement', 'SVGDefsElement', 'SVGDescElement', 'SVGElement', 'SVGEllipseElement', 'SVGFontElement', 'SVGFontFaceElement', 'SVGFontFaceFormatElement', 'SVGFontFaceNameElement', 'SVGFontFaceSrcElement', 'SVGFontFaceUriElement', 'SVGForeignObjectElement', 'SVGGElement', 'SVGGlyphElement', 'SVGGradientElement', 'SVGHKernElement', 'SVGImageElement', 'SVGLength', 'SVGLengthList', 'SVGLineElement', 'SVGLinearGradientElement', 'SVGMPathElement', 'SVGMaskElement', 'SVGMatrix', 'SVGMissingGlyphElement', 'SVGNumber', 'SVGNumberList', 'SVGPathElement', 'SVGPatternElement', 'SVGPolygonElement', 'SVGPolylineElement', 'SVGRadialGradientElement', 'SVGRect', 'SVGRectElement', 'SVGSVGElement', 'SVGScriptElement', 'SVGSetElement', 'SVGStopElement', 'SVGStringList', 'SVGStylable', 'SVGStyleElement', 'SVGSwitchElement', 'SVGSymbolElement', 'SVGTRefElement', 'SVGTSpanElement', 'SVGTests', 'SVGTextElement', 'SVGTextPositioningElement', 'SVGTitleElement', 'SVGTransform', 'SVGTransformList', 'SVGTransformable', 'SVGUseElement', 'SVGVKernElement', 'SVGViewElement', 'Selection', 'SharedWorker', 'StorageEvent', 'StyleSheet', 'Text', 'TextMetrics', 'The structured clone algorithm', 'TimeRanges', 'TimeRanges.end', 'TimeRanges.start', 'TypeInfo', 'UserDataHandler', 'Using XMLHttpRequest', 'Using dynamic styling information', 'Using full-screen mode', 'Using the Page Visibility API', 'ValidityState', 'Worker', 'XMLHttpRequest' ],
JQUERY_PROTOTYPE: [ 'add', 'addClass', 'after', 'ajaxComplete', 'ajaxError', 'ajaxSend', 'ajaxStart', 'ajaxStop', 'ajaxSuccess', 'andSelf', 'animate', 'append', 'appendTo', 'attr', 'before', 'bind', 'blur', 'change', 'children', 'clearQueue', 'click', 'clone', 'closest', 'constructor', 'contents', 'css', 'data', 'dblclick', 'delay', 'delegate', 'dequeue', 'detach', 'die', 'each', 'empty', 'end', 'eq', 'error', 'fadeIn', 'fadeOut', 'fadeTo', 'fadeToggle', 'filter', 'find', 'first', 'focus', 'focusin', 'focusout', 'get', 'has', 'hasClass', 'height', 'hide', 'hover', 'html', 'index', 'innerHeight', 'innerWidth', 'insertAfter', 'insertBefore', 'is', 'keydown', 'keypress', 'keyup', 'last', 'live', 'load', 'map', 'mousedown', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover', 'mouseup', 'next', 'nextAll', 'nextUntil', 'not', 'off', 'offset', 'offsetParent', 'on', 'one', 'outerHeight', 'outerWidth', 'parent', 'parents', 'parentsUntil', 'position', 'prepend', 'prependTo', 'prev', 'prevAll', 'prevUntil', 'promise', 'prop', 'pushStack', 'queue', 'ready', 'remove', 'removeAttr', 'removeClass', 'removeData', 'removeProp', 'replaceAll', 'replaceWith', 'resize', 'scroll', 'scrollLeft', 'scrollTop', 'select', 'serialize', 'serializeArray', 'show', 'siblings', 'size', 'slice', 'slideDown', 'slideToggle', 'slideUp', 'stop', 'submit', 'text', 'toArray', 'toggle', 'toggleClass', 'trigger', 'triggerHandler', 'unbind', 'undelegate', 'unload', 'unwrap', 'val', 'width', 'wrap', 'wrapAll', 'wrapInner' ],
CSS_PROPERTIES: ["pseudo-classes", "pseudo-elements", "@-rules", "animation", "animation-delay", "animation-direction", "animation-duration", "animation-fill-mode", "animation-iteration-count", "animation-name", "animation-play-state", "animation-timing-function", "auto", "backface-visibility", "background", "background-attachment", "background-clip", "background-color", "background-image", "background-origin", "background-position", "background-repeat", "background-size", "border", "border-bottom", "border-bottom-color", "border-bottom-right-radius", "border-bottom-left-radius", "border-bottom-style", "border-bottom-width", "border-collapse", "border-color", "border-image", "border-image-outset", "border-image-repeat", "border-image-slice", "border-image-source", "border-image-width", "border-left", "border-left-color", "border-left-style", "border-left-width", "border-radius", "border-right", "border-right-color", "border-right-style", "border-right-width", "border-spacing", "border-style", "border-top", "border-top-color", "border-top-left-radius", "border-top-right-radius", "border-top-style", "border-top-width", "border-width", "bottom", "box-decoration-break", "box-shadow", "box-sizing", "break-after", "break-before", "break-inside", "caption-side", "@charset", "clear", "clip", "clip-path", "color", "columns", "column-count", "column-fill", "column-gap", "column-rule", "column-rule-color", "column-rule-style", "column-rule-width", "column-span", "column-width", "content", "counter-increment", "counter-reset", "cursor", "direction", "display", "@document", "empty-cells", "float", "font", "@font-face", "font-family", "font-feature-settings", "font-kerning", "font-language-override", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-variant-ligatures", "font-weight", "height", "hyphens", "icon", "image-rendering", "image-resolution", "image-orientation", "ime-mode", "@import", "inherit", "initial", "@keyframes", "left", "letter-spacing", "line-height", "list-style", "list-style-image", "list-style-position", "list-style-type", "margin", "margin-bottom", "margin-left", "margin-right", "margin-top", "marker-offset", "marks", "mask", "max-height", "max-width", "@media", "min-height", "min-width", "@namespace", "nav-down", "nav-index", "nav-left", "nav-right", "nav-up", "none", "normal", "object-fit", "object-position", "opacity", "orphans", "outline", "outline-color", "outline-offset", "outline-style", "outline-width", "overflow", "overflow-wrap", "overflow-x", "overflow-y", "padding", "padding-bottom", "padding-left", "padding-right", "padding-top", "@page", "page-break-after", "page-break-before", "page-break-inside", "perspective", "perspective-origin", "pointer-events", "position", "quotes", "resize", "right", "table-layout", "tab-size", "text-align", "text-align-last", "text-decoration", "text-decoration-color", "text-decoration-line", "text-decoration-style", "text-indent", "text-overflow", "text-rendering", "text-shadow", "text-transform", "top", "transform", "transform-origin", "transform-style", "transition", "transition-delay", "transition-duration", "transition-property", "transition-timing-function", "unicode-bidi", "vertical-align", "@viewport", "visibility", "white-space", "width", "word-spacing", "word-wrap", "z-index"],
CSS_FUNCTIONS: ["attr()", "calc()", "cubic-bezier()", "cycle()", "element()", "hsl()", "hsla()", "image()", "linear-gradient()", "matrix()", "matrix3d()", "perspective()", "radial-gradient()", "rect()", "repeating-linear-gradient()", "repeating-radial-gradient()", "rgb()", "rgba()", "rotate()", "rotateX()", "rotateY()", "rotateZ()", "rotate3d()", "scale()", "scaleX()", "scaleY()", "scaleZ()", "scale3d()", "skew()", "skewX()", "skewY()", "steps()", "translate()", "translateX()", "translateY()", "translateZ()", "translate3d()", "url()"],
View
6 static/js/model.coffee
@@ -167,7 +167,7 @@ ViewModel = Class.$extend(
(json) ->
msg = 'unavailable'
msg = 'available' if json.available
- $('span#title_msg').text msg
+ $('#title_msg').text msg
, 750)
updateShareUrl: ->
@@ -179,7 +179,7 @@ ViewModel = Class.$extend(
hideTitleField: ->
$("form p").first().addClass "invisible"
- $("span#title_msg").addClass "invisible"
+ $("#title_msg").addClass "invisible"
showValidationErrors: (errors) ->
for field of errors
@@ -469,7 +469,7 @@ FiddleViewModel = ViewModel.$extend(
type: 'css/html'
starterTemplates = []
- @showSelectedTemplates = false;
+ @showSelectedTemplates = false
# if the styling language is compatible with css
if @styleLanguage() in COMPATIBLE_LANGUAGES.CSS
# load css templates
View
7 templates/templates.html
@@ -222,10 +222,11 @@
<h3><a href="#">Links</a></h3>
<div>
<p><a class="link" href="http://blog.fiddlesalad.com/">Blog</a></p>
- <p><a class="link" href="https://getsatisfaction.com/fiddle_salad">Support Forum</a></p>
- <p><a class="link" href="https://chrome.google.com/webstore/detail/gbbimmnlnnanjkmjbopohmghngacfbem">Chrome App</a></p>
- <p><a class="link" href="https://github.com/yuguang/fiddlesalad/">Github</a></p>
<p><a class="link" href="http://www.facebook.com/pages/Fiddle-Salad/433836646631748">Facebook Fan Page</a></p>
+ <p><a class="link" href="https://chrome.google.com/webstore/detail/gbbimmnlnnanjkmjbopohmghngacfbem">Chrome App</a></p>
+ <p><a class="link" href="http://www.youtube.com/user/LiveWebDevelopment/videos?view=1">Youtube</a></p>
+ <p><a class="link" href="https://github.com/yuguang/fiddlesalad/">Github Project</a></p>
+ <p><a class="link" href="https://twitter.com/#!/fiddle_salad">Twitter</a></p>
<p class="vertical">
<a href="#" data-bind='click: openTipsFrame'>
<span class="left ui-icon ui-icon-lightbulb"></span>
Please sign in to comment.
Something went wrong with that request. Please try again.