Skip to content

Commit

Permalink
fix(Promises): fix #238,
Browse files Browse the repository at this point in the history
chore(TS build): remove web pack, it's not really needed
  • Loading branch information
barbatus committed Apr 22, 2016
1 parent fb07fbb commit a611ed8
Show file tree
Hide file tree
Showing 18 changed files with 596 additions and 1,094 deletions.
90 changes: 20 additions & 70 deletions build/cursor_handle.js
Original file line number Diff line number Diff line change
@@ -1,70 +1,20 @@
(function(e, a) { for(var i in a) e[i] = a[i]; }(exports, /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

/******/ // The require function
/******/ function __webpack_require__(moduleId) {

/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;

/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ exports: {},
/******/ id: moduleId,
/******/ loaded: false
/******/ };

/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ // Flag the module as loaded
/******/ module.loaded = true;

/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }


/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;

/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;

/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";

/******/ // Load entry module and return exports
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports) {

'use strict';
var CursorHandle = (function () {
function CursorHandle(hCurObserver, hAutoNotify) {
check(hAutoNotify, Match.Optional(Tracker.Computation));
check(hCurObserver, Match.Where(function (observer) {
return !!observer.stop;
}));
this._hAutoNotify = hAutoNotify;
this._hCurObserver = hCurObserver;
}
CursorHandle.prototype.stop = function () {
if (this._hAutoNotify) {
this._hAutoNotify.stop();
}
;
this._hCurObserver.stop();
};
return CursorHandle;
}());
exports.CursorHandle = CursorHandle;


/***/ }
/******/ ])));
'use strict';
var CursorHandle = (function () {
function CursorHandle(hCurObserver, hAutoNotify) {
check(hAutoNotify, Match.Optional(Tracker.Computation));
check(hCurObserver, Match.Where(function (observer) {
return !!observer.stop;
}));
this._hAutoNotify = hAutoNotify;
this._hCurObserver = hCurObserver;
}
CursorHandle.prototype.stop = function () {
if (this._hAutoNotify) {
this._hAutoNotify.stop();
}
;
this._hCurObserver.stop();
};
return CursorHandle;
}());
exports.CursorHandle = CursorHandle;
133 changes: 9 additions & 124 deletions build/index.js
Original file line number Diff line number Diff line change
@@ -1,124 +1,9 @@
(function(e, a) { for(var i in a) e[i] = a[i]; }(exports, /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

/******/ // The require function
/******/ function __webpack_require__(moduleId) {

/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;

/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ exports: {},
/******/ id: moduleId,
/******/ loaded: false
/******/ };

/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ // Flag the module as loaded
/******/ module.loaded = true;

/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }


/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;

/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;

/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";

/******/ // Load entry module and return exports
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports, __webpack_require__) {

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
__export(__webpack_require__(1));
__export(__webpack_require__(2));
__export(__webpack_require__(3));
__export(__webpack_require__(4));
__export(__webpack_require__(8));


/***/ },
/* 1 */
/***/ function(module, exports) {

module.exports = require("./mongo_cursor_observer");

/***/ },
/* 2 */
/***/ function(module, exports) {

module.exports = require("./mongo_cursor_differ");

/***/ },
/* 3 */
/***/ function(module, exports) {

module.exports = require("./meteor_component");

/***/ },
/* 4 */
/***/ function(module, exports, __webpack_require__) {

"use strict";
var core_1 = __webpack_require__(5);
var mongo_cursor_differ_1 = __webpack_require__(2);
var change_detection_1 = __webpack_require__(6);
var lang_1 = __webpack_require__(7);
function meteorProviders() {
var providers = [];
var factories = change_detection_1.defaultIterableDiffers.factories;
if (factories) {
factories.push(new mongo_cursor_differ_1.MongoCursorDifferFactory());
}
providers.push(core_1.provide(core_1.IterableDiffers, {
useValue: new core_1.IterableDiffers(factories)
}));
return providers;
}
exports.METEOR_PROVIDERS = lang_1.CONST_EXPR(meteorProviders());


/***/ },
/* 5 */
/***/ function(module, exports) {

module.exports = require("angular2/core");

/***/ },
/* 6 */
/***/ function(module, exports) {

module.exports = require("angular2/src/core/change_detection/change_detection");

/***/ },
/* 7 */
/***/ function(module, exports) {

module.exports = require("angular2/src/facade/lang");

/***/ },
/* 8 */
/***/ function(module, exports) {

module.exports = require("./promise_q");

/***/ }
/******/ ])));
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
__export(require('./mongo_cursor_observer'));
__export(require('./mongo_cursor_differ'));
__export(require('./meteor_component'));
__export(require('./providers'));
__export(require('./promise_q'));
Loading

0 comments on commit a611ed8

Please sign in to comment.