template_binding 0.14.0+6

  • CHANGELOG.md
  • Installing
  • Versions
  • 49

Pub version 0.14.0+6

  • Fixed bug whereby too much code was pruned in 0.14.0+5

Pub version 0.14.0+5

  • Updated to use package:observable

Pub version 0.14.0+4

  • Fixed test for new dartium, chrome changed order of click/change events on checkboxes.

Pub version 0.14.0+3

  • Update web_components dependency.

Pub version 0.14.0+2

  • Update web_components dependency.

Pub version 0.14.0+1

  • Update observe dependency.

Pub version 0.14.0

  • Up to date with release 0.5.1 ([TemplateBinding#d2bddc4][d2bddc4]).
  • The js/patches_mdv.js file is now named js/flush.js.

Pub version 0.13.1

Pub version 0.13.0+1

  • Widen web_components version constraint.

Pub version 0.13.0

  • Up to date with TemplateBinding#41e95ea (release 0.4.0)
  • Using this package now requires some additional javascript polyfills, that were moved out of platform.js. These files are listed under lib/js, and all are required in addition to platform.js from the web_components package.

Pub version 0.12.1

  • Up to date with [TemplateBinding#6a2808c][6a2808c] (release 0.3.5)

Pub version 0.12.0+4

  • Widen the dependency constraint on observe.

Pub version 0.12.0+3

  • fix bug in interop layer to ensure callbacks are run in the dirty-checking zone (this only affected running code directly in Dartium without running pub-build or pub-serve)

Pub version 0.12.0

  • NodeBind interop support. This allows elements such as Polymer's core-elements and paper-elements to work properly with Dart binding paths, including using Elements and functions as values, and two-way bindings.
  • NodeBind is no longer ported. It now comes from packages/web_components/platform.js
  • Up to date with TemplateBinding#d9f4543 (release 0.3.4)

Pub version 0.11.0

Pub version 0.10.0

  • Applied patch to throw errors asynchronously if property path evaluation fails.
  • Applied patch matching commit 51df59 (fix parser to avoid allocating PropertyPath if there is a non-null delegateFn).
  • Ported up to commit TemplateBinding#99e52d and NodeBind#f7cc76.

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  template_binding: "^0.14.0+6"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:template_binding/template_binding.dart';
        
Version Uploaded Documentation Archive
0.14.0+6 Sep 30, 2016 Go to the documentation of template_binding 0.14.0+6 Download template_binding 0.14.0+6 archive
0.14.0+5 Sep 30, 2016 Go to the documentation of template_binding 0.14.0+5 Download template_binding 0.14.0+5 archive
0.14.0+4 Feb 19, 2016 Go to the documentation of template_binding 0.14.0+4 Download template_binding 0.14.0+4 archive
0.14.0+3 Dec 21, 2015 Go to the documentation of template_binding 0.14.0+3 Download template_binding 0.14.0+3 archive
0.14.0+2 Mar 18, 2015 Go to the documentation of template_binding 0.14.0+2 Download template_binding 0.14.0+2 archive
0.14.0+1 Feb 19, 2015 Go to the documentation of template_binding 0.14.0+1 Download template_binding 0.14.0+1 archive
0.14.0 Dec 5, 2014 Go to the documentation of template_binding 0.14.0 Download template_binding 0.14.0 archive
0.13.1 Oct 23, 2014 Go to the documentation of template_binding 0.13.1 Download template_binding 0.13.1 archive
0.13.0+1 Oct 1, 2014 Go to the documentation of template_binding 0.13.0+1 Download template_binding 0.13.0+1 archive
0.13.0 Sep 11, 2014 Go to the documentation of template_binding 0.13.0 Download template_binding 0.13.0 archive

All 30 versions...

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 16, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
35 / 100
Health:
Code health derived from static analysis. [more]
71 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50 / 100
Overall score:
Weighted score of the above. [more]
49

Platforms

Detected platforms: web

Primary library: package:template_binding/template_binding.dart with components: html, js, mirrors.

Suggestions

  • Fix lib/src/node.dart.

    Strong-mode analysis of lib/src/node.dart failed with the following error:

    line: 85 col: 3
    Invalid override. The type of '_NodeBindingsMap.[]' ('(String) → Bindable') isn't a subtype of 'Map<String, Bindable>.[]' ('(Object) → Bindable').

  • Fix lib/src/template.dart.

    Strong-mode analysis of lib/src/template.dart failed with the following error:

    line: 427 col: 13
    The getter 'head' isn't defined for the class 'Document'.

  • Fix further 1 Dart files.

    Similar analysis of the following files failed:

    • lib/src/template_iterator.dart
  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 3 error(s) and 0 warning(s).

  • Maintain README.md.

    Readme should inform others about your project, what it does, and how they can use it.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use template_binding.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.8.0 <2.0.0
observable ^0.14.0 0.14.0+1 0.21.0
observe ^0.14.0 0.14.0 0.15.1
web_components >=0.7.0 <0.13.0 0.12.5
Transitive dependencies
analyzer 0.27.6 0.31.1
args 0.13.7 1.3.0
async 2.0.3 2.0.4
barback 0.15.2+14
charcode 1.1.1
cli_util 0.0.1+2 0.1.2+1
code_transformers 0.4.2+3 0.5.1+4
collection 1.14.5
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
dart_style 0.2.11+1 1.0.9+1
func 0.1.1 1.0.0
glob 1.1.5
html 0.13.2+2
initialize 0.6.2+7
isolate 0.2.3 1.1.0
logging 0.11.3+1
meta 1.1.2
package_config 1.0.3
path 1.5.1
plugin 0.2.0+2
pool 1.3.4
smoke 0.3.6+3
source_maps 0.10.4
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+7
when 0.2.0
which 0.1.3
yaml 2.1.13
Dev dependencies
browser >=0.10.0 <0.11.0
unittest >=0.10.0 <0.12.0