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
| oauth.get('https://api.twitter.com/1.1/account/verify_credentials.json?skip_status=true', function(data) { | |
| var userParam = JSON.parse(data.text); | |
| localStorage.uid = userParam.id; | |
| localStorage.loggedIn = true; | |
| debugger; | |
| // window.location="show_list.html"; | |
| }); | |
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
| { | |
| "1111111" : { | |
| "name" : "Canola", | |
| "amounts_by_grade_and_variety" : [{ | |
| "amount" : 10, | |
| "grade" : "high", | |
| "variety" "bestest" | |
| }, | |
| { | |
| "amount" : 10, |
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
| # spec/helpers/config.rb | |
| module Config | |
| def root | |
| "http://...." | |
| end | |
| end | |
| #spec_helper.rb |
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
| package main | |
| import( | |
| "os" | |
| "log" | |
| "gopkg.in/yaml.v1" | |
| ) | |
| type T struct { | |
| A string |
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
| this.createGame = function(user, maxPlayers) { | |
| return $http({ | |
| method: 'POST', | |
| url: '/games', | |
| data: { | |
| name: user.name, | |
| token: user.token, | |
| max_player: maxPlayers | |
| } | |
| }) |
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
| new Sequelize.Utils.QueryChainer() | |
| .add( | |
| req.field.getHarvests() | |
| ) | |
| .add( | |
| req.field.getApplications() | |
| ) | |
| .add( | |
| req.field.getPlantings() | |
| ) |
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 id="reevoomark-loader" type="text/javascript" charset="utf-8"> | |
| (function () { | |
| var myscript = document.createElement('script'); | |
| myscript.type = 'text/javascript'; | |
| myscript.src = ('//mark.reevoo.com/reevoomark/PMC.js?async=true'); | |
| var s = document.getElementById('reevoomark-loader'); | |
| s.parentNode.insertBefore(myscript, s); | |
| })(); | |
| </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
| (function() { | |
| var script = document.createElement('script'); | |
| script.type = 'text/javascript'; | |
| script.src = 'http://cdn.mark.reevoo.com/assets/reevoo_mark.js'; | |
| var s = document.getElementById('reevoomark-loader'); | |
| s.parentNode.insertBefore(script, s); | |
| })(); | |
| afterReevooMarkLoaded = [function(){ | |
| ReevooApi.load('YOUR_TRKREF_HERE', function(retailer){ |
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 id="reevoomark-loader" type="text/javascript" charset="utf-8"> | |
| (function() { | |
| var trkref = 'TRKREF'; | |
| var myscript = document.createElement('script'); | |
| myscript.type = 'text/javascript'; | |
| var protocol = (window.location.protocol == 'https:')? window.location.protocol : 'http:'; | |
| myscript.src=(window.location.protocol + '//mark.reevoo.com/reevoomark/'+trkref+'.js?async=true'); | |
| var s = document.getElementById('reevoomark-loader'); | |
| s.parentNode.insertBefore(myscript, s); | |
| })(); |
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
| image_url = new Array(); | |
| image_url[0] = "/images/menuitems/accessories2.gif"; | |
| image_url[1] = "/images/menuitems/account2.gif"; | |
| image_url[2] = "/images/menuitems/bags2.gif"; | |
| image_url[3] = "/images/menuitems/boots2.gif"; | |
| image_url[4] = "/images/menuitems/home2.gif"; | |
| image_url[5] = "/images/menuitems/login2.gif"; | |
| image_url[6] = "/images/menuitems/logout2.gif"; | |
| image_url[7] = "/images/menuitems/new2.gif"; | |
| image_url[8] = "/images/menuitems/register2.gif"; |