Git Product home page Git Product logo

Comments (4)

eee-c avatar eee-c commented on August 23, 2024

This should work. The \w in the regex matches any non-whitespace character -- lower and uppercase. In fact, I'm actively using this for camel case Polymer properties so I'm surprised this is causing trouble.

I'm not saying that there isn't a problem. There likely is and, even more likely, I'm misunderstanding your description :)

But... I'll need a test case that demonstrates the problem. Would it be possible to modify the Karma tests in this repos to demonstrate the bug and submit a pull request? The PR doesn't have to include a fix, but a failing test would be fantastic.

from angular-bind-polymer.

Debananda avatar Debananda commented on August 23, 2024

I have updated the paramter out to outValue... I have attached the codes below have a look

x-double.html

`

<script> Polymer({ is: "x-double", properties: { in: { type: Number, value: 0, observer: 'inChanged' }, outValue: { type: Number, reflectToAttribute: true } }, ready: function(){ this.inChanged(); }, inChanged: function(){ this.outValue = parseInt(this.in) * 2; } }); </script>

`

index.html

<p> in:<br> <input type=text value="6" ng-model="in"> <pre ng-bind="in"></pre> </p> <p> out: <pre ng-bind="doubled"></pre> </p> <x-double bind-polymer in="{{in}}" out-value="{{doubled}}" disabled test="test"></x-double> </div>

check this.. this is failing. here doubled is not getting updated

from angular-bind-polymer.

Debananda avatar Debananda commented on August 23, 2024

@eee-c : did you get a chance to look into the snippet i have provided.

from angular-bind-polymer.

eee-c avatar eee-c commented on August 23, 2024

Much thanks for the snippet. I'm crazy swamped these days (who isn't
though?), but I want to get to this today or tomorrow.

I really appreciate the snippet -- it's a huge help! I think I see the
problem and am reasonably sure I can fix it. I'll let you know shortly...

On Sat, Sep 10, 2016 at 1:15 AM, Debananda Mohanty <[email protected]

wrote:

@eee-c https://github.com/eee-c : did you get a chance to look into the
snippet i have provided.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#18 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABnoPBBzMnFX84Vt02xGbJR8sMpmJGmks5qoj0CgaJpZM4J2B0W
.

from angular-bind-polymer.

Related Issues (10)

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.