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
| var follow = require("follow"), | |
| async = require("async"), | |
| request = require("./json-client"), | |
| rawRequest = require("request"), | |
| docstate = require("docstate").control(); | |
| var adminDb = "http://localhost:4985/linkedin"; | |
| // download company data visible to different users |
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
| var requestLib = require("request"), | |
| request = requestLib.defaults({ | |
| json:true | |
| }, function(uri, options, callback){ | |
| var params = requestLib.initParams(uri, options, callback); | |
| return requestLib(params.uri, params.options, function(err, res, body){ | |
| // treat bad status codes as errors | |
| if (!err && res.statusCode >= 400) { | |
| params.callback.apply(this, [res.statusCode, res, body]); | |
| } else { |
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
| Titanium Command-Line Interface, CLI version 3.1.2, Titanium SDK version 3.1.3.GA | |
| Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved. | |
| Please report bugs to http://jira.appcelerator.org/ | |
| [INFO] : Deploy type: development | |
| [INFO] : Building for target: simulator | |
| [INFO] : Building using iOS SDK: 7.0 | |
| [INFO] : Building for iOS iPhone Simulator: 7.0 | |
| [INFO] : Building for device family: iphone | |
| [INFO] : Minimum iOS version: 5.0 | |
| [INFO] : Debugging disabled |
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
| var DATABASE_NAME = 'todo'; | |
| var CBLite = require('com.couchbase.cbl'); | |
| // globals... | |
| // Ti.API.info('db module'); | |
| var Config = { | |
| username : null // todo set on login | |
| // list_id : dynamically configured |
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
| #!/usr/bin/env node | |
| var cordova_util = require('cordova/src/util'); | |
| var projectRoot = cordova_util.isCordova(process.cwd()); | |
| var projectXml = cordova_util.projectConfig(projectRoot); | |
| var projectConfig = new cordova_util.config_parser(projectXml); | |
| projectConfig.name(); | |
| var fs = require ('fs'); |
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
| #import "LiteGap.h" | |
| #import "CouchbaseLite.h" | |
| #import "CBLListener.h" | |
| #import "CBLJSViewCompiler.h" | |
| #import <Cordova/CDV.h> | |
| @implementation LiteGap |
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
| Ld /Users/jchris/Library/Developer/Xcode/DerivedData/LiteGap-gdgdlvxxkrqsgpaykxjfvyzajgyk/Build/Products/Debug-iphonesimulator/LiteGap.app/LiteGap normal i386 | |
| cd /Users/jchris/code/cb/mobile/LG2 | |
| setenv IPHONEOS_DEPLOYMENT_TARGET 5.0 | |
| setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
| /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/jchris/Library/Developer/Xcode/DerivedData/LiteGap-gdgdlvxxkrqsgpaykxjfvyzajgyk/Build/Products/Debug-iphonesimulator -L/Users/jchris/code/cb/mobile/LG2/LiteGap/Plugins/com.couchbase.litegap -F/Users/jchris/Library/Developer/Xcode/DerivedData/LiteGap-gdgdlvxxkrqsgpaykxjfvyzajgyk/Build/Products/Debug-iphonesimulator -filelist /Users/jchris/Libra |
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
| Ld /Users/jchris/Library/Developer/Xcode/DerivedData/LiteGap-gdgdlvxxkrqsgpaykxjfvyzajgyk/Build/Products/Debug-iphonesimulator/LiteGap.app/LiteGap normal i386 | |
| cd /Users/jchris/code/cb/mobile/LG2 | |
| setenv IPHONEOS_DEPLOYMENT_TARGET 5.0 | |
| setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
| /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/jchris/Library/Developer/Xcode/DerivedData/LiteGap-gdgdlvxxkrqsgpaykxjfvyzajgyk/Build/Products/Debug-iphonesimulator -L/Users/jchris/code/cb/mobile/LG2/LiteGap/Plugins/com.couchbase.litegap -F/Users/jchris/Library/Developer/Xcode/DerivedData/LiteGap-gdgdlvxxkrqsgpaykxjfvyzajgyk/Build/Products/Debug-iphonesimulator -filelist /Users/jchris/Libra |
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
| <?xml version="1.0"?> | |
| <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.couchbase.litegap" version="0.1.0"> | |
| <name>LiteGap</name> | |
| <platform name="ios"> | |
| <config-file target="config.xml" parent="/widget"> | |
| <feature name="LiteGap"> | |
| <param name="ios-package" value="LiteGap" /> | |
| <param name="onload" value="true" /> | |
| </feature> | |
| </config-file> |
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
| <?xml version="1.0"?> | |
| <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.couchbase.litegap" version="0.1.0"> | |
| <name>LiteGap</name> | |
| <platform name="ios"> | |
| <config-file target="config.xml" parent="/widget/plugins"> | |
| <plugin name="LiteGap" value="LiteGap"/> | |
| </config-file> | |
| <header-file src="src/ios/LiteGap.h"/> | |
| <source-file src="src/ios/LiteGap.m"/> | |
| <framework src="libsqlite3.dylib"/> |