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
| * { | |
| align-content: stretch; | |
| align-items: stretch; | |
| align-self: auto; | |
| animation-delay: 0s; | |
| animation-direction: normal; | |
| animation-duration: 0s; | |
| animation-fill-mode: none; | |
| animation-iteration-count: 1; | |
| animation-name: none; |
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
| resolve: function (account, callback) { | |
| if (this.state !== 'created') return callback(new Error('Tip cannot be claimed')); // Sorry, all done | |
| if (account._id !== this.from_wallet || account._id !== this.to_wallet) { | |
| return callback(new Error('Wrong wallet')); // Wrong wallet | |
| } | |
| this.state = 'resolving'; | |
| this.resolved_id = new ObjectID(); // resolved_id identifies the tip later | |
| this.save(function (err, tip) { |
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
| 'use strict'; | |
| /*global $, main_html, style_css, toolbar_html*/ | |
| console.log('hello.') | |
| var style_css = '.dgw-dogewand *{-webkit-align-content:stretch;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-align-self:auto;-ms-flex-item-align:auto;align-self:auto;-webkit-animation-delay:0s;animation-delay:0s;-webkit-animation-direction:normal;animation-direction:normal;-webkit-animation-duration:0s;animation-duration:0s;-webkit-animation-fill-mode:none;animation-fill-mode:none;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-name:none;animation-name:none;-webkit-animation-play-state:running;animation-play-state:running;-webkit-animation-timing-function:ease;animation-timing-function:ease;-webkit-backface-visibility:visible;-ms-backface-visibility:visible;backface-visibility:visible;background-attachment:scroll;background-clip:border-box;background-color:transparent;background-image |
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 _handleTouch() { | |
| var self = this; | |
| self.pageViewPos = new Transitionable(0); | |
| self.sync = new GenericSync(function() { | |
| return self.pageViewPos.get(0); | |
| }, {direction: GenericSync.DIRECTION_X}); | |
| self.pageView.pipe(self.sync); |
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
| 'use strict'; | |
| var mongoose = require('mongoose'); | |
| var Account = mongoose.model('Account'); | |
| var Tip = mongoose.model('Tip'); | |
| var models = { | |
| Tip: Tip, | |
| Account: Account | |
| }; |
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 _B_log(imp, opt_val) { | |
| var p = "imp\x3d" + imp; | |
| if (arguments.length > 1) | |
| p += "\x26val\x3d" + opt_val; | |
| _B_logImg_("jsle", p) | |
| } | |
| var loadTimes = [GLOBALS[0], GLOBALS[1], JS_START_TIME]; | |
| var loadTimesMap = {"fjs": GLOBALS[0],"bjsi": GLOBALS[1],"sjsi": JS_START_TIME}; | |
| function _B_record(opt_Name, opt_onlyMap) { | |
| var t = (new Date).getTime(); |
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
| <div class="adv-common search-bar"> | |
| <input type="text" class="adv-common search" placeholder="Search"/> | |
| </div> |
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
| // 'use strict'; | |
| // An app that has items and stories. | |
| // Items have properties: name, weight, description. | |
| // Stories have properties: title, content, item | |
| // Stories contain a widget for their item | |
| // The add item screen shows this widget, live updating with a binding to the form. | |
| // The same widget template code being used on both screens. | |
| // Screens: story detail, add/edit story, add/edit item | |
| var counterA = 0; |
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
| 'use strict'; | |
| var pull = require('pull-stream') | |
| var net = require('net') | |
| var toStream = require('pull-stream-to-stream') | |
| var rimraf = require('rimraf') | |
| rimraf.sync('./following1.db') // delete the db from last time | |
| var ssb1 = require('../create')('./following1.db') | |
| var feed1 = ssb1.createFeed() |
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
| 'use strict'; | |
| var pull = require('pull-stream') | |
| var net = require('net') | |
| var toStream = require('pull-stream-to-stream') | |
| var rimraf = require('rimraf') | |
| rimraf.sync('./following1.db') // delete the db from last time | |
| var ssb1 = require('../create')('./following1.db') | |
| var feed1 = ssb1.createFeed() |
OlderNewer