Giter VIP home page Giter VIP logo

meteorx's Introduction

MeteorX

github issues build status

Exposing internal Meteor APIs to hack Meteor easily, fork from meteorhacks/meteorx. I will maintain it and update it in the future. If you find an error, please open the issue in this project!

Available APIs on Server-side

MeteorX {
  Server: [Function: Server],
  // livedata
  Session: [Function: Session],
  Subscription: [Function: Subscription],
  SessionCollectionView: [Function: SessionCollectionView],
  SessionDocumentView: [Function: SessionDocumentView],
  // mongo-livedata
  MongoConnection: { [Function: MongoConnection] _isCannotChangeIdError: [Function] },
  MongoCursor: [Function: Cursor],
  MongoOplogDriver: { [Function: OplogObserveDriver] cursorSupported: [Function] },
  MongoPollingDriver: [Function: PollingObserveDriver],
  Multiplexer: [Function: ObserveMultiplexer],
  SynchronousCursor: [Function: SynchronousCursor],
}

Installation

read more in atmospherejs

$ meteor add lamhieu:meteorx

What you can do with this

Think about your meteor related issues and fix them. Some of them are:

  • Unblock Subscriptions
  • Remove MergeBox

meteorx's People

Contributors

arunoda avatar lh0x00 avatar thani-sh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

meteorx's Issues

TypeError: Cannot read property '_handleConnect' of undefined

I got this error after upgrading my app to use Meteor 2.6:

TypeError: Cannot read property '_handleConnect' of undefined
at exposeLivedata (packages\lamhieu_meteorx.js:26:25)
at packages\lamhieu_meteorx.js:200:1
at packages\lamhieu_meteorx.js:225:4
at packages\lamhieu_meteorx.js:233:3

Please update the code to make it compatible with the latest release of Meteor. Thank you.

rename Meteor.default_server to Meteor.server

hey,
i think you should replace Meteor.default_server (/src/livedata.js) by Meteor.server because it causing problems,
it's replaced on v0.6.5, 2013-08-14 :
Rename Meteor.default_connection to Meteor.connection and Meteor.default_server to Meteor.server.

Meteor.default_server._handleConnect(fakeSocket, ddpConnectMessage);

Expose SynchronousCursor

SynchronousCursor is a wrapper around a MongoDB cursor
which includes fully-synchronous versions of forEach, etc.

Cursor is the cursor object returned from find(), which implements the
documented Mongo.Collection cursor API. It wraps a CursorDescription and a
SynchronousCursor (lazily: it doesn't contact Mongo until you call a method
like fetch or forEach on it).

From https://github.com/meteor/meteor/blob/3051150f2f5ae953f391802e73682fba613b3d46/packages/mongo/mongo_driver.js#L831

One way to expose it is monti-apm/monti-apm-agent@995746e#diff-0901de04bfe0541714fd28f066b7d8c9R29

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.