This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| var editor = new JCSDLGui($("#jcsdl"), { | |
| //Change the speed of animation to 0 | |
| animate : 0, | |
| //Sets the Map Overlay element color, opacity, and stroke | |
| mapsOverlay : { | |
| strokeWeight : 1, | |
| strokeColor: '#ffffff', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <head> | |
| ... | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
| <script type="text/javascript" src="jcsdl/jcsdl.min.js"></script> | |
| <script type="text/javascript" src="query/jcsdl.definition.js"></script> | |
| <link rel="stylesheet" type="text/css" href="jcsdl/jcsdl.min.css" /> | |
| ... | |
| </head> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| var editor = new JCSDLGui($("#jcsdl"), { | |
| different : { | |
| //label : 'Different', | |
| label : 'MyCustomLabelDifferent', | |
| //description : 'Not equal to...', | |
| description : 'My custom description...', | |
| code : '!=', | |
| url : 'http://dev.datasift.com/docs/operators/equals-and-not-equals' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="jcsdl"></div> | |
| <script type="text/javascript"> | |
| var editor = new JCSDLGui($("#jcsdl"), { | |
| //Change the speed of animation to 0 | |
| animate : 0, | |
| //Sets the Map Overlay element color, opacity, and stroke | |
| mapsOverlay : { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| var editor = new JCSDLGui($("#jcsdl"), { | |
| hideTargets : ['facebook', 'amazon.content'] | |
| }); | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div id="jcsdl"></div> | |
| <a href="#" id="load-jcsdl">Load query</a> | |
| <textarea id="jcsdl-code">// JCSDL_MASTER b04591342ee71a2baa468d9d2a340ec8 AND | |
| // JCSDL_VERSION 1.0 | |
| // JCSDL_START 0980a5f2ef935c4ed153bf975879eac0 twitter.text,contains_any,27-52 | |
| twitter.text contains_any "obama, santorum, gingrich, romney, ronpaul, ron paul" | |
| // JCSDL_END | |
| AND |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| var editor = new JCSDLGui($("#jcsdl"), { | |
| definition : { | |
| targets : { | |
| facebook : { | |
| fields : { | |
| 'likes-count' : { | |
| // name: 'Likes Count', | |
| // type: 'int', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| var editor = new JCSDLGui($("#jcsdl"), { | |
| definition : { | |
| targets : { | |
| facebook : { | |
| fields : { | |
| 'likes-count' : { | |
| max : 1000, | |
| 'default' : 500, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| $(function() { | |
| var editor = new JCSDLGui('#jcsdl', { | |
| save : function(code) { | |
| alert(code); | |
| } | |
| }); | |
| }); | |
| </script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| text : { | |
| arrayOperators : ['contains_any', 'contains_near', 'in'], | |
| operator : 'contains_any' | |
| } |