小编JoD*_*iii的帖子

科尔多瓦将不再建造

我不明白,我几天没有改变或更新,昨天编译工作,现在这里是:

fred@fred:~/public_html/tests/appli/ratoufute$ export PATH=${PATH}:"/home/fred/appli/android-studio/sdk/tools" && export PATH=${PATH}:"/home/fred/appli/android-studio/sdk/platform-tools"
fred@fred:~/public_html/tests/appli/ratoufute$ cordova build android && cordova prepare android && cordova compile android
Running command: /home/fred/public_html/tests/appli/ratoufute/platforms/android/cordova/build 
Buildfile: /home/fred/public_html/tests/appli/ratoufute/platforms/android/build.xml

-set-mode-check:

-set-debug-files:

-check-env:
 [checkenv] Android SDK Tools Revision 22.6.2
 [checkenv] Installed at /home/fred/appli/android-studio/sdk

-setup:
     [echo] Project Name: RatouFut
  [gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
[getbuildtools] Using latest Build Tools: 19.0.3
     [echo] Resolving Build Target for RatouFut...
[gettarget] Project Target:   Android 4.4.2
[gettarget] API level:        19
     [echo] ----------
     [echo] Creating output directories if needed...
     [echo] …
Run Code Online (Sandbox Code Playgroud)

android compilation cordova

13
推荐指数
1
解决办法
3869
查看次数

ng-show和ng-hide在html5/js chrome扩展中失败

我对Chrome扩展程序中ng-hide和ng-show的行为感到困惑:https://chrome.google.com/webstore/detail/zombiereport/nmojhgiclaimobhpljphbfgmabfmncin

当我把它放在网上它工作得很好:http://1ffa3ba638.url-de-test.ws/zombieReport/partials/popup.html

在表单中,默认情况下(扩展名)会自动显示ng-show et ng-hide.

google-chrome-extension angularjs google-chrome-app

10
推荐指数
1
解决办法
2037
查看次数

如何更改SVG圆的大小

我想从此处调整第一个SVG圆圈的大小,所以我制作了第二个SVG圆圈,但是动画存在问题,动画不一样。

HTML:

<div class="loader">
    <svg class="circular">
        <circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="8" stroke-miterlimit="10" />
    </svg>
</div>


<div style="margin-top: 50px;" class="loader">
    <svg class="circular">
        <circle class="path" cx="50" cy="50" r="44" fill="none" stroke-width="8" stroke-miterlimit="10" />
    </svg>
</div>
Run Code Online (Sandbox Code Playgroud)

CSS:

body, svg, circle {
    margin: 0px !important;
    padding: 0px !important;
}
.loader {
    position: relative;
    margin: 0px auto;
    padding: 0px;
    width: 100px;
    height: 100px;
    zoom: 1;
    background-color: grey;
}
.circular {
    -webkit-animation: rotate 3s linear infinite;
    animation: rotate 3s linear infinite;
    height: 100px; …
Run Code Online (Sandbox Code Playgroud)

html css svg

5
推荐指数
1
解决办法
2569
查看次数

动态变量为angularjs ng-repeat

进入第一个循环,我恢复了一个id,我尝试定义其他循环,如下所示:

    <ul ng-show="feed{{raterie.idFB}} === true" ng-init="var myFeed = myFeedFunction(raterie.idFB);">
        <li ng-repeat="feed in getFeeder(raterie.idFB) | limitTo:1">adoptions are : {{feed.title | cleanit}}</li>
        <li ng-repeat="feed in feeder{{raterie.idFB}} | limitTo:1">adoptions are : {{feed.title | cleanit}}</li>
        <li ng-repeat="feed in feeder{raterie.idFB} | limitTo:1">adoptions are : {{feed.title | cleanit}}</li>
        <li ng-repeat="feed in feeder[raterie.idFB] | limitTo:1">adoptions are : {{feed.title | cleanit}}</li>
        <li ng-repeat="feed in feeder['raterie.idFB'] | limitTo:1">adoptions are : {{feed.title | cleanit}}</li>
        <li ng-repeat="feed in myFeed | limitTo:1">adoptions are : {{feed.title | cleanit}}</li>
        <li ng-repeat="feed in feeder846097918756247 | …
Run Code Online (Sandbox Code Playgroud)

javascript angularjs angularjs-scope angularjs-ng-repeat

3
推荐指数
1
解决办法
8921
查看次数

在传单上更改图标

根据这个问题:https://gis.stackexchange.com/questions/54651/change-marker-icon-on-click-using-leaflet,我做了这个:

// onEachFeature
function onEachFeature(feature, layer) {
    layer.on('click', function (e) {

        // change icon
        console.log(layer.options.icon);
        e.target.setIcon(myIconReplc);

    });
}

var myIconReplc = L.Icon.extend({
    options: {
        iconUrl: "../resources/img/map/icons/orange/ambulance.png",
        iconSize: [30,35],
        shadowUrl: "../resources/img/map/icons/shadow.png",
        shadowAnchor: [8, 20],
        shadowSize: [25, 18],
        iconSize: [20, 25],
        iconAnchor: [8, 30] // horizontal puis vertical
    }
});
Run Code Online (Sandbox Code Playgroud)

我有这个错误: Uncaught TypeError: undefined is not a function

怎么了 ?

---直播:http://www.monde-du-rat.fr/pmr/new.php#/carte

javascript leaflet

3
推荐指数
2
解决办法
6412
查看次数

angularjs ng-repeat按数字顺序排序字符串数组

我有一个带有id的帖子列表 1,2,3,4,5,6,7,8,9,10,11,12 (json格式)ID是String类型.但是我想根据它的数字顺序命令它正常orderBy:'fiche.id'列表显示如下. 1,10,11,12,2,3,4,5,6,7,8,9

我希望输出是有序的 - 1,2,3,4,5,6,7,8,9,10,11,12

javascript angularjs ng-repeat angularjs-ng-repeat

2
推荐指数
1
解决办法
3389
查看次数

ngModel:我的angularjs应用程序中的constexpr错误,但jsfiddle上的相同代码是好的

我的应用程序中有一个非常惊讶的错误:

<div class="ui toggle checkbox">
    <input type="checkbox" ng-model="pimp.init.carte.choice_1" ng-checked="pimp.init.carte.choice_1 == 'online'" ng-true-value="online" ng-false-value="offline" />
    <label>OSM 
        <span ng-show="pimp.init.carte.choice_1 == 'online'">en ligne</span>
        <span ng-show="pimp.init.carte.choice_1 == 'offline'">hors ligne</span>
    </label>{{pimp.init.carte.choice_1}}
</div>
Run Code Online (Sandbox Code Playgroud)

在控制器中,pimp.init.carte.choice_1默认设置为"在线".

我有这个错误:

ngModel:constexpr] http://errors.angularjs.org/1.3.11/ngModel/constexpr?p0=ngTrueValue&p1=online

我试图在一个jsfiddle中重复这个行为,但这里似乎没问题,所以我不明白为什么它在我的应用程序中不起作用.

怎么了 ?

checkbox version angularjs

1
推荐指数
1
解决办法
1761
查看次数