معرفی شرکت ها


ftw.candlestick-1.1.5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

ftw.candlestick
ویژگی مقدار
سیستم عامل -
نام فایل ftw.candlestick-1.1.5
نام ftw.candlestick
نسخه کتابخانه 1.1.5
نگهدارنده ['4teamwork']
ایمیل نگهدارنده []
نویسنده 4teamwork AG
ایمیل نویسنده mailto:info@4teamwork.ch
آدرس صفحه اصلی https://github.com/4teamwork/ftw.candlestick
آدرس اینترنتی https://pypi.org/project/ftw.candlestick/
مجوز GPL2
Introduction ============ The name **candlestick** comes from the times when the telephone had just been invented. One of the first models of a telephone was a stick which was placed on a table where the speaker could talk into it. .. image:: docs/candlestick.jpg This module provides a javascript library to automatically generate phone links. A treeWalker walks through the whole DOM and collects all :code:`textNodes`. If a node matches a phone number the number will be replaced with a :code:`<a href="tel:phonenumber">Your phonenumber</a>` link. Existing links or input fields are not affected. By default the `candlestick.integration.js` is loaded which converts all phone numbers in the `body`. .. contents:: Table of Contents Compatibility ------------- Plone 4.3.x Plone 5.1.x Installation ============ - Add the package to your buildout configuration: .. code:: ini [instance] eggs += ... ftw.candlestick Development =========== **Python:** 1. Fork this repo 2. Clone your fork 3. Shell: ``ln -s development.cfg buidlout.cfg`` 4. Shell: ``python boostrap.py`` 5. Shell: ``bin/buildout`` Or start an instance by running ``bin/instance fg``. Links ===== - Github: https://github.com/4teamwork/ftw.candlestick - Issues: https://github.com/4teamwork/ftw.candlestick/issues - Pypi: http://pypi.python.org/pypi/ftw.candlestick - Continuous integration: https://jenkins.4teamwork.ch/search?q=ftw.candlestick Copyright ========= This package is copyright by `4teamwork <http://www.4teamwork.ch/>`_. ``ftw.candlestick`` is licensed under GNU General Public License, version 2. Client library ============== Getting Started --------------- The client library depends on `Grunt <http://gruntjs.com/>`_. Assuming you already have **Node.js** installed on your system, run the following command: .. code:: bash sudo npm install -g grunt To install the dependencies, run the following command: .. code:: bash npm install And with **npm** you get the following packages: - `Grunt <http://gruntjs.com/>`_ - JavaScript task runner. - `Babel <https://babeljs.io/>`_ - ES6 Transpiler. - `Browserify <http://browserify.org/>`_ - Dependency Bundler - `Karma <http://karma-runner.github.io/>`_ - JavaScript test runner. - `Jasmine <http://jasmine.github.io/>`_ - JavaScript test suite. - `Chai <http://chaijs.com/>`_ - JavaScript Assertion Library. Usage ----- Run the following command to re-build the library: .. code:: bash grunt build Run the following command to watch for changes which trigger a rebuild: .. code:: bash grunt Build options ------------- See https://github.com/substack/browserify-handbook for more information about browserify. Source Maps ----------- Browserify comes with a built-in support to generate source maps. It is already enabled by default, but feel free to disable source maps. Refer to `this article <https://developers.google.com/chrome-developer-tools/docs/javascript-debugging#source-maps>`_ to enable source maps in Google Chrome, if you haven't already done so. Tests ----- Run all tests .. code:: bash grunt test Run a specific test .. code:: bash grunt test --grep="Name of your test" Initialization -------------- Converts all phone numbers to links .. code:: javascript window.candlestick(); Changelog ========= 1.1.5 (2020-10-26) ------------------ - Pin down setuptools for Python 2.7 compatibility reasons. [busykoala] - Make parsing phone number rebust, so it does not break the whole site if merged with other resources. [mathias.leimgruber] - Add support for 0800 numbers. [mathias.leimgruber] 1.1.4 (2019-12-17) ------------------ - Combine yarn watch and grunt watch [Nachtalb] - Fix candlestick being run to early before DOM is ready [Nachtalb] 1.1.3 (2019-12-14) ------------------ - Fix plone 5 resource bundle for production mode. [tinagerber] 1.1.1 (2019-09-23) ------------------ - Add profile (and uninstall profile) for Plone 5. [djowett-ftw] - Update README.rst to improve English and note Plone5.1 compatibility. [djowett-ftw] 1.1.0 (2019-09-04) ------------------ - Test against Plone 5.1.x. [mbaechtold] - Add HISTORY.txt to long description. [busykoala] 1.0.5 (2018-01-11) ------------------ - Compile javascript sources. [Kevin Bieri] 1.0.4 (2017-12-13) ------------------ - IBAN number are no longer recognized as phone numbers. [Kevin Bieri] 1.0.3 (2017-03-23) ------------------ - Fix parson of phonenumbers. - No longer allow too short phonenumbers - Allow phone numbers with varying spaces around number groups [Kevin Bieri] - Move phonenumbers samples to testing section. [Kevin Bieri] - Fix readme. [Kevin Bieri] 1.0.2 (2017-03-10) ------------------ - Fix parse and replace issues. - Parentheses should not be included in the phone links. - Trailing text should not be ignored. [Kevin Bieri] 1.0.1 (2017-01-13) ------------------ - Fix error in treeWalker on Internet Explorer >= 9. [Kevin Bieri] 1.0.0 (2016-11-30) ------------------ - Initial implementation


نحوه نصب


نصب پکیج whl ftw.candlestick-1.1.5:

    pip install ftw.candlestick-1.1.5.whl


نصب پکیج tar.gz ftw.candlestick-1.1.5:

    pip install ftw.candlestick-1.1.5.tar.gz