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
| console.log("MGS返回延迟脚本") | |
| let headers = $response.headers; | |
| headers['X-Modified-By'] = 'Surge'; | |
| $done({headers}); |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Device Properties Example</title> | |
| <script type="text/javascript" src="http://api.map.baidu.com/api?v=1.1&services=true"></script> | |
| <script type="text/javascript" charset="utf-8" src="phonegap.0.9.6.js"></script> | |
| <script type="text/javascript" charset="utf-8"> | |
| // Wait for PhoneGap to load | |
| // |
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
| # config/initializers/mongo.rb | |
| # | |
| # MonkeyPatch to fix the error going on in mongomapper + rails3 + ruby 1.9.2 | |
| # | |
| MongoMapper::Plugins.class_eval do | |
| def plugins | |
| @plugins ||= [] | |
| end |