This file contains 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
<snippet> | |
<content><![CDATA[ | |
define([ | |
'dijit/_WidgetBase', | |
'dojo/_base/declare' | |
], function( | |
_WidgetBase, | |
declare | |
) { |
This file contains 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
define([ | |
'esri/tasks/FindTask', | |
'dojo/promise/Promise', | |
'widgets/search/searchservice' | |
], function( | |
FindTask, | |
Promise, | |
Widget) { | |
return describe('widgets/search/searchservice', function() { |
This file contains 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
<!-- This is a quick rundown of how I got geotagging working in Tumblr via javascript and some hacking. Its in use at http://jpinjapan.tumblr.com - I hope tumblr builds it into their site soon! --> | |
<!-- This has to go somewhere at the top of your page, inside your <head>, as javascript --> | |
<!-- It prepares the regular expression that finds the geo: tags inside your various tags --> | |
var geore = new RegExp(/^geo:(-?\d+\.\d+);(-?\d+\.\d+)$/) | |
<!-- You must alter every <div> containing a post to look like this: --> | |
<div class="post text" id="post-{PostID}"> | |
<!-- This is so that the javascript can find the posts it needs to. Its a hack around my unfamiliarity with jQuery really. --> |
NewerOlder