Created
December 6, 2009 04:08
-
-
Save technohippy/250046 to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs title="My First Gadget" height="50"> | |
</ModulePrefs> | |
<Content type="html"> | |
<![CDATA[ | |
<script> | |
function test() { | |
alert(gadgets.io.encodeValues({key1:"値1", key2:"値2"})); | |
var fps = gadgets.util.getFeatureParameters(); | |
for (var i = 0; i < fps.length; i++) { | |
alert(fps[i]); | |
} | |
} | |
</script> | |
<button onclick="test()">Test</button> | |
]]> | |
</Content> | |
</Module> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment