Sha256: 1b16e91a735a87d3a42d048f0140c6c8b4a53c8dccd1f975f2ed4150f0c9b441

Contents?: true

Size: 1.81 KB

Versions: 49

Compression:

Stored size: 1.81 KB

Contents

{"version":3,"file":"AnimationFrameScheduler.js","sourceRoot":"","sources":["../../src/scheduler/AnimationFrameScheduler.ts"],"names":[],"mappings":";;;;;;AACA,+BAA+B,kBAAkB,CAAC,CAAA;AAElD;IAA6C,2CAAc;IAA3D;QAA6C,8BAAc;IA2B3D,CAAC;IA1BQ,uCAAK,GAAZ,UAAa,MAAyB;QAEpC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAEpB,0BAAO,CAAS;QACvB,IAAI,KAAU,CAAC;QACf,IAAI,KAAK,GAAW,CAAC,CAAC,CAAC;QACvB,IAAI,KAAK,GAAW,OAAO,CAAC,MAAM,CAAC;QACnC,MAAM,GAAG,MAAM,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;QAEnC,GAAG,CAAC;YACF,EAAE,CAAC,CAAC,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACvD,KAAK,CAAC;YACR,CAAC;QACH,CAAC,QAAQ,EAAE,KAAK,GAAG,KAAK,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE;QAExD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QAEpB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC;YACV,OAAO,EAAE,KAAK,GAAG,KAAK,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC;gBACrD,MAAM,CAAC,WAAW,EAAE,CAAC;YACvB,CAAC;YACD,MAAM,KAAK,CAAC;QACd,CAAC;IACH,CAAC;IACH,8BAAC;AAAD,CAAC,AA3BD,CAA6C,+BAAc,GA2B1D;AA3BY,+BAAuB,0BA2BnC,CAAA","sourcesContent":["import { AsyncAction } from './AsyncAction';\nimport { AsyncScheduler } from './AsyncScheduler';\n\nexport class AnimationFrameScheduler extends AsyncScheduler {\n  public flush(action?: AsyncAction<any>): void {\n\n    this.active = true;\n    this.scheduled = undefined;\n\n    const {actions} = this;\n    let error: any;\n    let index: number = -1;\n    let count: number = actions.length;\n    action = action || actions.shift();\n\n    do {\n      if (error = action.execute(action.state, action.delay)) {\n        break;\n      }\n    } while (++index < count && (action = actions.shift()));\n\n    this.active = false;\n\n    if (error) {\n      while (++index < count && (action = actions.shift())) {\n        action.unsubscribe();\n      }\n      throw error;\n    }\n  }\n}\n"]}

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
ilog-0.4.1 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
ilog-0.4.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
ilog-0.3.3 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-18.0.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.21.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.20.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.19.1 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.19.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.18.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.17.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.16.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.15.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.14.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.13.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.12.2 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.12.1 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.12.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.11.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.10.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map
govuk_publishing_components-17.9.0 node_modules/rxjs/scheduler/AnimationFrameScheduler.js.map