Giter VIP home page Giter VIP logo

can-cid's Introduction

SauceLabs Test Status

Join our Slack Join our Discourse npm version Build Status Greenkeeper badge

CanJS is a collection of client-side JavaScript architectural libraries.

Web Components

CanJS’s StacheElement allows you to create Web Components with observable properties and live-bound templates.

class Counter extends StacheElement {
	static view = `
		Count: <span>{{ this.count }}</span>
		<button on:click="this.increment()">+1</button>
	`;

	static props = {
		count: 0
	};

	increment() {
		this.count++;
	}
}
customElements.define("my-counter", Counter);

Model layer

Components shouldn’t be concerned with how data is fetched, updated, or cached.

CanJS provides the right abstractions for your model code to be cleanly separated from your UI code. Learn more…

Promises in templates

CanJS’s stache templating language can directly read the state and values from Promises.

No need to write any extra code to determine whether a Promise is pending, resolved, or rejected. Learn more…

{{# if(this.promise.isPending) }}
  Loading…
{{/ if }}
{{# if(this.promise.isRejected) }}
  Error: {{ this.promise.reason }}
{{/ if }}
{{# if(this.promise.isResolved) }}
  Result: {{ this.promise.value }}
{{/ if }}

Real-time list updating

After data is created, updated, or destroyed, CanJS automatically updates your lists for you.

Filtering and sorting are preserved, so you don’t have to manually update your lists or fetch the same data again. Learn more…

Getting Started

Ready to get started? See the Setting Up CanJS, API Docs and Guides pages.

Support / Contributing

Before you make an issue, please read our Contributing guide.

You can find the core team on Slack.

Release History

See Releases.

License

MIT License.

can-cid's People

Contributors

aosanders avatar bmomberger-bitovi avatar chasenlehara avatar cherifgsoul avatar greenkeeper[bot] avatar imaustink avatar justinbmeyer avatar marshallswain avatar nlundquist avatar phillipskevin avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

can-cid's Issues

An in-range update of steal is breaking the build 🚨

☝️ Greenkeeper’s updated Terms of Service will come into effect on April 6th, 2018.

Version 1.11.0 of steal was just published.

Branch Build failing 🚨
Dependency steal
Current Version 1.10.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

steal is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Release Notes 1.11.0

Improved error messaging on SyntaxErrors during parsing.

This is a minor release, improving the SyntaxErrors generated during parsing, both for ES and CommonJS modules. On the ES side this change removes the unhelpful Babel stack trace and puts instead a stack trace to where the error occurred.

screen shot 2018-03-21 at 10 56 57 am

Commits

The new version differs by 4 commits.

  • 0b62e43 1.11.0
  • f23c959 Merge pull request #1368 from stealjs/parse
  • 05734d7 Conditionally user loader.StackTrace
  • 263cda1 Improve error messages on parse errors

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of steal is breaking the build 🚨

Version 1.2.11 of steal just got published.

Branch Build failing 🚨
Dependency steal
Current Version 1.2.10
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As steal is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Failing Travis saucelabs tests

Failing for Windows 7 IE 9 in sauce labs test.
Occurring on line 52 of can-cid-test.js
screen shot 2018-07-06 at 1 38 38 pm

TypeError: Unable to get value of the property 'bold': object is null or undefined

An in-range update of steal-qunit is breaking the build 🚨

Version 1.0.2 of steal-qunit was just published.

Branch Build failing 🚨
Dependency [steal-qunit](https://github.com/bitovi/steal-qunit)
Current Version 1.0.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

steal-qunit is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 5 commits.

  • 8db4357 1.0.2
  • 79d3b18 Merge pull request #30 from stealjs/run-one
  • fbd1c0d Test with a modern version of Node and Firefox
  • b65c719 Test with a modern version of Node and Firefox
  • 20a35c8 Update the banner correctly for failed/passing tests

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Fails on sealed DefineMap instances

Currently can-cid fails to set on a sealed DefineMap.
It works by trying to directly set a _cid property, which obviously fails on sealed objects.
As extended DefineMaps by default are sealed, you'll quickly run into this problem if you use can-cid to e.g. generate unique identifiers to render id / for attribute pairs in stache views, based on the unique view model instance of a component.

Maybe this can be solved by amending can-cid to detect sealed DefineMap instances and store their cids via a WeakMap?

An in-range update of steal-tools is breaking the build 🚨

Version 1.11.8 of steal-tools was just published.

Branch Build failing 🚨
Dependency steal-tools
Current Version 1.11.7
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

steal-tools is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build failed Details

Commits

The new version differs by 27 commits.

  • 3ac1576 1.11.8
  • c1c299a Merge pull request #977 from stealjs/test-master
  • 23d8eac Correctly remove development code on Windows
  • c4f9943 Merge pull request #973 from stealjs/greenkeeper/browserify-16.1.1
  • bffcac3 Merge pull request #949 from stealjs/greenkeeper/steal-conditional-1.0.0
  • c795235 Update steal-conditional version in tests
  • 858f0f7 chore(package): update steal-conditional to version 1.0.0
  • 0277aa4 Merge branch 'master' into greenkeeper/browserify-16.1.1
  • 4f31f38 Merge pull request #972 from stealjs/greenkeeper/pump-3.0.0
  • fdde72a Merge pull request #971 from stealjs/greenkeeper/bower-1.8.4
  • 08f4f96 Merge branch 'master' into greenkeeper/pump-3.0.0
  • 92ec44a Merge pull request #933 from stealjs/greenkeeper/yargs-11.0.0
  • e7fca64 Merge branch 'master' into greenkeeper/yargs-11.0.0
  • 89f1105 Merge pull request #969 from stealjs/greenkeeper/prettier-1.11.1
  • de5a7f9 Merge pull request #968 from stealjs/greenkeeper/ws-5.1.1

There are 27 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Tests don't work with Steal 0.16

Because the namespace test was changed to look for err.message, it will throw if run with Steal 0.16 (like in the canjs test suite).

An in-range update of steal-tools is breaking the build 🚨

Version 1.2.0 of steal-tools just got published.

Branch Build failing 🚨
Dependency steal-tools
Current Version 1.1.2
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As steal-tools is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this 💪


Status Details
  • continuous-integration/travis-ci/push The Travis CI build could not complete due to an error Details
Release Notes 1.2.0

This release adds the development bundles feature. You can learn more about the development bundle feature in the Steal 1.3.0 release notes.

Issues

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

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.