Sha256: c2fdf8b212649445e938c970dfd81d143038172e15a0c87756389bcb3d9e9ca9

Contents?: true

Size: 1.53 KB

Versions: 5

Compression:

Stored size: 1.53 KB

Contents

<!doctype html>
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE
The complete set of authors may be found at http://polymer.github.io/AUTHORS
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS
-->
<html>
<head>
  <meta charset="UTF-8">
  <title>registerEffect</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">

  <script src="../../../webcomponentsjs/webcomponents-lite.js"></script>
  <script src="../../../web-component-tester/browser.js"></script>
  <script src="../../../test-fixture/test-fixture-mocha.js"></script>
  <link rel="import" href="../../../test-fixture/test-fixture.html">
  <link rel="import" href="../helpers.html">

</head>
<body>

  <script>

    suite('Polymer.AppLayout.registerEffect', function() {

      test('should register the effects', function() {

        Polymer.AppLayout.registerEffect('test', {
          setUp: Function(),
          run: Function(),
          tearDown: Function()
        });

        assert.isFunction(Polymer.AppLayout._scrollEffects.test.setUp);
        assert.isFunction(Polymer.AppLayout._scrollEffects.test.run);
        assert.isFunction(Polymer.AppLayout._scrollEffects.test.tearDown);

      });

    });

  </script>

</body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
jekyll-polymer-magazine-0.1.4 assets/bower_components/app-layout/helpers/test/register-effect.html
jekyll-polymer-magazine-0.1.3 assets/bower_components/app-layout/helpers/test/register-effect.html
jekyll-polymer-magazine-0.1.2 assets/bower_components/app-layout/helpers/test/register-effect.html
jekyll-polymer-magazine-0.1.1 assets/bower_components/app-layout/helpers/test/register-effect.html
jekyll-polymer-magazine-0.1.0 assets/bower_components/app-layout/helpers/test/register-effect.html