Git Product home page Git Product logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
Спасибо за ваш вклад. Я добавил его в свн, 
немного исправив манифест (id - чтобы 
отражал, что это интернет провайдер, а 
также добавил туда классификационную 
информацию).

Для того, чтобы опубликовать провайдер, 
необходимо сделать несколько доработок.
1. Обработка ошибочного ввода логина-пароля
2. Использовать AnyBalance.isAvailable для получения 
только тех счетчиков, которые пользователь 
желает получать
3. В main.js надо вставить заголовок, 
аналогично, например, интернет от МТС:
/**
Провайдер AnyBalance (http://any-balance-providers.googlecode.com)

Домашний Интернет и Телевидение МТС
Сайт оператора: http://www.dom.mts.ru/
Личный кабинет: https://kabinet.mts.ru/
*/

Права на запись в репозиторий вам выданы.

Original comment by [email protected] on 23 Jan 2012 at 5:22

  • Changed state: Started

from any-balance-providers.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
Да, теперь более менее, провайдер 
опубликован.

Хотя, конечно, я вижу, что если resst не одно из 
двух значений ('ok' или 'bad login'), то скрипт 
выйдет без установки setResult, что выразится в 
совсем непонятной для пользователя ошибке.

Когда будете исправлять, не забудьте 
увеличить номер версии, чтобы у 
пользователей обновилось.

Original comment by [email protected] on 23 Jan 2012 at 8:11

  • Changed state: Done

from any-balance-providers.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
Мне неизвестны другие значения запроса. 
Хотя могу добавить еще один блок 'else'

Original comment by [email protected] on 23 Jan 2012 at 8:24

from any-balance-providers.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 14, 2024
Да, обычно так и делается, типа: 
'неизвестная ошибка: ' + resst . Если вдруг 
возникнет, и юзеры сообщат, по крайней мере 
будете знать, в чем проблема.

Original comment by [email protected] on 23 Jan 2012 at 8:29

from any-balance-providers.

Related Issues (20)

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.